Package dev.despical.mazeengine.api.model


package dev.despical.mazeengine.api.model
Immutable values describing maze identity, coordinates, geometry, and metadata.

MazeId identifies a saved maze, while CellPosition and CellSize describe the logical cell grid. MazeLocation, MazeBounds, and MazeGeometry describe world block placement and structural dimensions without retaining mutable Bukkit objects.

MazeSnapshot captures a saved record at one point in time. Its preset metadata remains frozen with that record, whereas PresetRegistry exposes the current configured PresetSnapshot values. Coordinates, lifecycle state, and topology statistics describe saved metadata rather than a live scan of world blocks.

These values may be retained and read on other threads after a server-thread registry query or operation callback. They do not update after configuration reloads, regeneration, or deletion; query the registry again for a newer view. Retaining a maze identifier or snapshot does not reserve its name against reuse after deletion.