Make players mobs too !

This commit is contained in:
2026-09-30 10:42:52 -03:00
parent 65f27d6099
commit 4fbcca6851
23 changed files with 314 additions and 132 deletions
+2
View File
@@ -174,6 +174,8 @@ export type ServerMessage =
| { type: "set_block_item"; x: number; y: number; z: number; item: ItemData | null }
| { type: "chat"; from?: string; text: string }
| { type: "teleport"; x: number; y: number; z: number }
// the player was knocked back: their speed is this now, in blocks per second
| { type: "set_motion"; vx: number; vy: number; vz: number }
| { type: "container"; container: ContainerKey; items: (ItemData | null)[] }
| { type: "cursor"; item: ItemData | null }
| { type: "open_screen"; layout: ScreenLayout; properties: Record<string, number> }