Skip to main content

Module dimension

Module dimension 

Source
Expand description

Custom dimensions — dimension-type definitions and runtime chunk generation.

Structs§

ChunkWriter
Handle passed to a chunk-generator closure (see the crate-level docs), wrapping the runtime’s per-callback vtable — mirrors GfxContext in yog-gfx. Valid only for the duration of the generator callback.
YogDimensionDef
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 (in yog-api), which the Java host parses to register (or patch) a LevelStem/DimensionType entry at mod-init time.
YogDimensionTypeDef
Properties of a dimension type — mirrors Java’s YogDimensionType.