Expand description
Custom dimensions — dimension-type definitions and runtime chunk generation.
Structs§
- Chunk
Writer - Handle passed to a chunk-generator closure (see the crate-level docs),
wrapping the runtime’s per-callback vtable — mirrors
GfxContextinyog-gfx. Valid only for the duration of the generator callback. - YogDimension
Def - A dimension definition — what a mod registers to create a custom
dimension, or to patch an existing (including vanilla) one. Serialized
to JSON and sent across the ABI via
Registry::register_dimension(inyog-api), which the Java host parses to register (or patch) aLevelStem/DimensionTypeentry at mod-init time. - YogDimension
Type Def - Properties of a dimension type — mirrors Java’s
YogDimensionType.