Move effects into the modding api

This commit is contained in:
2026-10-02 11:53:44 -03:00
parent 4309c700d2
commit e5dcb97643
33 changed files with 458 additions and 109 deletions
+5 -4
View File
@@ -1,7 +1,7 @@
# Registries
Every block, item, block model, entity, entity model 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 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,8 +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 and entities. 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 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.
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.