API
Mirage distinguishes two versions of each world: the storage WorldStorage
which is the real world saved on disk and the view WorldView
which is the world seen by players. In the same way, there are a ChunkStorage
and a ChunkView
for each chunk. The view can be edited at any time but the prefered way is to create and register a ChunkModifier
in the ChunkModifierRegistryModule
. This modifier, if used in a configuration, will be applied automatically when needed.