Recipe viewer for crabpots

This commit is contained in:
2026-10-12 02:39:25 -03:00
parent 726a52b91a
commit 2ebcf55ad3
9 changed files with 201 additions and 13 deletions
+3
View File
@@ -151,6 +151,9 @@ ctx.items.exists(id);
ctx.items.name(id); // "Cooked Rice"
ctx.items.mod(id); // the name of the mod that added it
ctx.items.components(id); // its components and their params, like the server's, to show what they mean
ctx.blocks.exists(id);
ctx.blocks.components(id); // the same for a block, like what a crab pot catches with each bait
ctx.loot.table(id); // a loot table file's JSON, or undefined. tables server scripts make aren't here
ctx.recipes.list(type?); // every recipe as its JSON, including mods' own types
ctx.options.key_inventory; // the key the player has bound, like Minecraft's Options key mappings
```