This commit is contained in:
2026-10-02 11:07:09 -03:00
parent d5015edfa1
commit 9ca717d2d0
18 changed files with 449 additions and 38 deletions
+1
View File
@@ -136,6 +136,7 @@ Client scripts can read what the client knows, to show it:
```ts
ctx.player.name;
ctx.player.position; // { x, y, z }
ctx.player.is_swimming(); // see ../entities/players.md#swimming
ctx.world.get_block(x, y, z); // a block id, what this client sees
ctx.world.time; // see Time
ctx.items.ids(); // every item, in load order