World generation
Status: Planned. Features, placement modifiers, density functions, structures, carvers, biome sources and chunk generators in code. Nothing on this page is in the API yet; the names in the final API may differ.
What this will cover
Celestial’s worldgen is bit-exact with vanilla and runs on job workers. Mod worldgen will plug into the same pipeline as parallel callbacks (pure functions of their input, results applied in vanilla order), so it keeps seed parity and speed. This page will document the code types (feature, placement modifier, density function, structure and pieces, carver, biome source, chunk generator) and the worldgen events.
What you can do today
- Data packs: the mod’s
datapack/<ns>/worldgen/folder is read like any data pack. The server generates the three vanilla dimensions; worldgen for extra dimensions isn’t generated yet. lifecycle.level_loadandcl_level_set_blockcan place things in loaded areas after generation (for example from a command or a scheduled task).