Worlds
INFO
Сам справочник на английском: он создаётся автоматически из WIT-файлов.
core
The interfaces every mod may import, on both sides.
| Interface | |
|---|---|
| import | types |
| import | host |
| import | log |
| import | players |
| import | events |
| import | commands |
| import | scheduler |
| import | storage |
| import | services |
| import | channels |
| import | content |
server-mod
A server mod ([entry] server in mod.toml). Runs in the dedicated server or the host of a local world.
| Interface | |
|---|---|
| include | core |
| export | guest |
client-mod
A client mod ([entry] client). Runs in the game client (PC port or Android loader). It gets the core imports (player-join, player-quit and kicks are server-only, and players lists the players the client knows about) and, since 0.3, ui for the HUD, toasts and dialogs. Other client interfaces (input, rendering, assets) come later.
| Interface | |
|---|---|
| include | core |
| import | ui |
| export | guest |