Skip to main content

Module shared_structs

Module shared_structs 

Source

Structs§

BiomeCondition
Defines a condition based on a biome or list of biomes.
BlockStateData
Block state data as encoded by vanilla registry JSON.
FluidStateData
Fluid state data as encoded by vanilla registry JSON.
SpawnConditionEntry
A single entry in the list of spawn conditions.

Functions§

deserialize_optional_tag_identifier
deserialize_tag_identifier
insert_spawn_conditions
Serialize a spawn_conditions list into the enclosing compound. Matches vanilla’s [{priority, condition?}, …] shape exactly.