Better recipe api and port smithing to it
This commit is contained in:
+1
-1
@@ -262,7 +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() {}, list: () => [] },
|
||||
recipes: { register() {}, list: () => [], register_type() {}, find: () => undefined, all: () => [] },
|
||||
world,
|
||||
components: { register_block: (id, block_rules) => rules.register("bworld", id, block_rules) },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user