Recipe viewer for fishing
This commit is contained in:
@@ -11,7 +11,9 @@ The recipes open in a screen of their own, laid out like JEI's: a tab for each c
|
||||
made down its left side, the category and the page between their arrows, then the recipes. Clicking items in it follows
|
||||
them, Backspace goes back, and Escape or the inventory key (E) returns to the inventory.
|
||||
|
||||
It reads every mod's recipes with `ctx.recipes.list()`.
|
||||
It reads every mod's recipes with `ctx.recipes.list()`. Fish, the items with the base game's `bworld:fish` component,
|
||||
get a Fishing category too: clicking one shows its seasons, biomes, hours and the liquid it's caught in, read with
|
||||
`ctx.items.components`, and the fishing rod's uses are every fish.
|
||||
|
||||
- `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
|
||||
|
||||
Reference in New Issue
Block a user