mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
12 lines
406 B
Java
12 lines
406 B
Java
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);
|
|
}
|