Proper cutting board
This commit is contained in:
@@ -166,6 +166,9 @@ export type ServerMessage =
|
||||
// to the players who have the chunk, including the one who caused it, which corrects anything their client
|
||||
// predicted wrong
|
||||
| { type: "set_block"; x: number; y: number; z: number; id: string; state?: number }
|
||||
// the item a block shows, see BlockRegistry.item_display. to the players who have the chunk, after it and whenever
|
||||
// it changes. null when it shows nothing any more
|
||||
| { 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 }
|
||||
| { type: "container"; container: ContainerKey; items: (ItemData | null)[] }
|
||||
|
||||
Reference in New Issue
Block a user