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,11 @@
|
||||
package com.volmit.block;
|
||||
|
||||
import java.util.random.RandomGenerator;
|
||||
|
||||
/** Resolved, immutable palette. Coordinates are world blocks; selection uses only this RNG.
|
||||
* An empty/unresolvable palette is a pack-load error. Implementations must support concurrent calls.
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface BlockPalette {
|
||||
BlockState select(int worldX, int worldY, int worldZ, RandomGenerator random);
|
||||
}
|
||||
Reference in new issue
Block a user