Make players mobs too !
This commit is contained in:
@@ -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> }
|
||||
|
||||
Reference in New Issue
Block a user