Expand description
Custom dimensions — dimension-type definitions and runtime chunk generation.
Structs§
- Generated
Chunk - A chunk column a generator fills (the
world/generation/chunkevent, keyed bygenerator): where it is, and every block placed so far — a palette and a cell per block, like the game’s chunk sections, so the host sets them a section at a time. Several handlers fill one column in turn (terrain, then a mod’s ores). - YogDimension
Def - A dimension definition — what a mod registers to create a custom
dimension, or to patch an existing (including vanilla) one. Sent as Yog
Data via
Registry::register_dimension(inyog-api); the host registers (or patches) aLevelStem/DimensionTypeentry from it at mod-init time. - YogDimension
Type Def - Properties of a dimension type — mirrors Java’s
YogDimensionType.
Constants§
- CELL
- Bytes per cell of
GeneratedChunk::cells. - CHUNK_
WIDTH - Blocks across a chunk column, in x and z.