Baseline IrisApi draft before stage-graph redesign

This commit is contained in:
piexel committed 2026-10-05 17:01:18 +02:00
commit 9043d93fbd
91 files changed
+4045

No files matched your search

@@ -0,0 +1,13 @@
package com.volmit.world;
import com.volmit.mantle.BlockBox;
/** Read-only host sampling for the same pack snapshot as the invocation.
* Bounds are world blocks, maxima exclusive. Sampling outside prepared bounds fails with
* IndexOutOfBoundsException. Views expire with the invocation and must not escape it.
*/
public interface TerrainSampler {
BlockBox bounds();
TerrainSample column(int worldX, int worldZ);
BiomeSample biome(int worldX, int worldY, int worldZ);
}