Better recipe api and port smithing to it

This commit is contained in:
2026-11-01 19:21:40 -03:00
parent ad782839ec
commit c8b5f2a3bd
50 changed files with 371 additions and 120 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ Deno.test("the recipe viewer finds what makes and uses an item, in any recipe ty
// smelting and smithing
assert(using("bworld:iron_ore").some((r) => r.type === "furnace" && outputs(r)[0].ids[0] === "bworld:iron_ingot"));
assertEquals(ids(inputs(making("bworld:stone_pickaxe")[0])), ["bworld:wood_pickaxe", "bworld:stone"]);
assertEquals(category_name("smithing"), "Smithing");
assertEquals(category_name("bworld:smithing"), "Smithing");
});
Deno.test("recipes are found by category in jei's order, and a catalyst's uses are everything made in it", async () => {