mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
Baseline IrisApi draft before stage-graph redesign
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user