Fluid registry

This commit is contained in:
2026-10-25 14:05:57 -03:00
parent 0cfa4d9b4a
commit 17d83acfc8
18 changed files with 144 additions and 17 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
# Registries
Every block, item, block model, entity, entity model, status effect and texture has an id, and is registered under it
once, while mods load. After that the game refers to things only by their id.
Every block, item, block model, entity, entity model, status effect, fluid and texture has an id, and is registered
under it once, while mods load. After that the game refers to things only by their id.
## Identifiers
@@ -32,9 +32,9 @@ The server and every client load mods the same way, in the same order:
1. **Order.** Dependencies come before the mods that need them, and otherwise mods load alphabetically. Mods that depend
on each other in a circle are an error. The server sends its order to clients, and they follow it.
2. **Data**, one mod at a time: its block models, blocks (and their items), items, entity models, entities and effects.
Then every mod's [tags](../resources/tags.md), merged in load order, then each mod's recipes and ores, which can use
tags.
2. **Data**, one mod at a time: its block models, blocks (and their items), items, entity models, entities, effects and
fluids. Then every mod's [tags](../resources/tags.md), merged in load order, then each mod's recipes and ores, which
can use tags.
3. **Scripts.** Server scripts' `setup` runs on the server, and client scripts' on each client. Worldgen scripts'
`setup` runs on the server before it makes chunks.