Package dev.despical.mazeengine.core
package dev.despical.mazeengine.core
Deterministic graph generation, routing, and local maze geometry.
GenerationSettings and a fixed seed drive MazeGenerator without live Bukkit world access. MazeLayout stores copied passage masks and boundary portals, and its breadth-first searches support shortest routes and graph statistics. PERFECT graphs are trees; BRAIDED settings may add loops while retaining connectivity.
Bounds converts between grid dimensions, block spans, and indexed traversal. BlockPlan resolves coordinate-stable structure and decorations lazily, and PreviewMesh merges wall runs within a display budget. Live block placement and entity ownership belong to the service layer.
-
ClassDescriptionResolves the planned block state at a local coordinate without storing a volume.Describes an inclusive block volume and its indexed traversal coordinates.Defines the cardinal connections used by the logical maze graph.Controls topology generation independently of Bukkit worlds and block palettes.Selects the topology contract of the generated graph.Generates a deterministic connected cell graph using a growing-tree algorithm.Stores an immutable logical cell graph with entrance and exit portals.Identifies a boundary cell and the side opening to the outside.Builds a bounded box mesh representing the complete planned maze footprint.Stores one local rectangular region in the preview mesh.Identifies the structural role of one preview mesh box.