Update modding docs

This commit is contained in:
2026-09-29 23:29:14 -03:00
parent f0cf4e4eeb
commit 1ac7a5c943
50 changed files with 2672 additions and 1924 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// what client scripts get, see "Client scripts" and "GUIs" in MODS.md
// what client scripts get, see docs/modding/gui/index.md
import type { Id, ItemStack, KeyCode, ModInfo, Position } from "./shared.ts";
export type { Id, ItemStack, KeyCode, ModInfo, Position } from "./shared.ts";
@@ -25,7 +25,7 @@ export interface ClientContext {
// the mod that registered it
mod(id: Id): string;
};
// every recipe as its json (see Recipes in MODS.md), including mods' own types, in load order. copies
// every recipe as its json (see docs/modding/resources/recipes.md), including mods' own types, in load order. copies
recipes: {
// deno-lint-ignore no-explicit-any
list(type?: Id): any[];