Register recipe api

This commit is contained in:
2026-10-28 23:56:29 -03:00
parent 5d64b801a3
commit 43521b3675
9 changed files with 235 additions and 42 deletions
+1
View File
@@ -262,6 +262,7 @@ export function client_of(game: GameServer, area: Area) {
items: shared_items_api("bworld"),
// only its blocks are looked at here
fluids: { register() {} },
recipes: { register() {} },
world,
components: { register_block: (id, block_rules) => rules.register("bworld", id, block_rules) },
});