Class BlockPlan
java.lang.Object
dev.despical.mazeengine.core.BlockPlan
Resolves the planned block state at a local coordinate without storing a volume.
The plan combines an immutable cell graph, frozen preset, and generation seed to determine floors, walls, roof blocks, lights, portal markers, and optional decorations. A coordinate hash keeps palette and decoration choices stable regardless of the order in which blocks are queried.
Passage checks translate local X/Z block coordinates into graph connections and external portals. Generation jobs and visual geometry reuse that same interpretation. Memory follows the saved graph and preset rather than the number of positions in the three-dimensional world volume.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BlockPlan
-
-
Method Details
-
layout
-
block
-
passage
public boolean passage(int x, int z) -
mix
public static long mix(long value)
-