Biome as data

This commit is contained in:
2026-10-08 13:34:32 -03:00
parent 9f0b049148
commit 7e7ac8f6f4
49 changed files with 913 additions and 224 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ What world generation has today (see [World Generation](docs/modding/worldgen/in
The biome is exact away from coasts and cliffs. The height is the height before 3D noise, so it isn't the real
surface.
- **Blocks:** numeric states (up to 16 bits), `variants`, `parts`, shapes, tile data, containers, components and shared
rules. Tags exist for blocks, items and entities. Biomes are engine constants (`BIOMES` in
`common/worldgen/overworld.ts`), not a registry.
rules. Tags exist for blocks, items and entities. Biomes are a registry of data (`worldgen/biomes/` in a mod), but
which one a column gets is still engine code (`pick_biome`).
- **Loot:** a block's `drops` is one item id. There are no loot tables.
What's missing for structures: