Block registry api

This commit is contained in:
2026-11-12 20:41:13 -03:00
parent e7fe663746
commit 76802ed430
39 changed files with 499 additions and 100 deletions
+2 -2
View File
@@ -84,8 +84,8 @@ deno task build && deno task server # packs the mods and starts a se
## API Types
The API types are the reference for everything scripts can call. Scripts import them as `cubi/server`, `cubi/client` and
`cubi/worldgen`, and they live in [`common/mod_api/`](common/mod_api/).
The API types are the reference for everything scripts can call. Scripts import them as `cubi/server`, `cubi/client`,
`cubi/shared`, `cubi/worldgen` and `cubi/content`, and they live in [`common/mod_api/`](common/mod_api/).
A few parts of those types aren't built yet and throw when used: forms, custom screens, HUD elements and keybinds.
[`docs/modding_plan.md`](docs/modding_plan.md) covers those, what else is planned, and the design behind the mod API.