Juicer recipes

This commit is contained in:
2026-10-28 12:40:30 -03:00
parent bcd0690ef5
commit 1539cf6933
5 changed files with 127 additions and 28 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ It reads every mod's recipes with `ctx.recipes.list()`. Fish, the items with the
get a Fishing category too: clicking one shows its seasons, biomes, hours and the fluid it's caught in, read with
`ctx.items.components`, and the fishing rod's uses are every fish. The crab pot gets one too: a recipe for each bait in
its `bworld:crabpot` component and each kind of water, showing everything that water's loot table can catch and how
likely each is, read with `ctx.blocks.components` and `ctx.loot.table`.
likely each is, read with `ctx.blocks.components` and `ctx.loot.table`. The juicer gets one for each item with the
`bworld:juiceable` component, showing the juice one of it is pressed into and how many mB, drawn in a fluid slot with
`g.fluid`.
- `scripts/categories.ts` has a category for each recipe type, like JEI's `IRecipeCategory`: its title, size, where it's
made (`MOD_CATALYSTS` for mods' types) and where its items go. Types without one are drawn from their JSON: the items