Class BlockPlan

java.lang.Object
dev.despical.mazeengine.core.BlockPlan

public final class BlockPlan extends Object
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 Details

  • Method Details

    • layout

      public MazeLayout layout()
    • block

      public String block(int x, int y, int z)
    • passage

      public boolean passage(int x, int z)
    • mix

      public static long mix(long value)