Recipe viewer for fishing
This commit is contained in:
@@ -38,6 +38,9 @@ export interface ClientContext {
|
||||
name(id: Id): string;
|
||||
// the mod that registered it
|
||||
mod(id: Id): string;
|
||||
// the components its json lists and their params, a copy, like the server's ctx.items.components. for showing
|
||||
// what a component means, like when a fish can be caught
|
||||
components(id: Id): Record<Id, unknown>;
|
||||
};
|
||||
// every recipe as its json (see docs/modding/resources/recipes.md), including mods' own types, in load order. copies
|
||||
recipes: {
|
||||
|
||||
Reference in New Issue
Block a user