Recipe viewer for fishing
This commit is contained in:
@@ -304,6 +304,10 @@ function client_context(listing: ModListing): ClientContext {
|
||||
const namespace = id.split(":")[0];
|
||||
return mod_names.get(namespace) ?? namespace;
|
||||
},
|
||||
components: (id) => (known_item(id),
|
||||
structuredClone(
|
||||
EverythingRegistry.get<ItemRegistry>("items", id)?.components ?? {},
|
||||
)),
|
||||
},
|
||||
recipes: {
|
||||
list: (type) =>
|
||||
|
||||
Reference in New Issue
Block a user