Giant chesplate
This commit is contained in:
+3
-3
@@ -7,7 +7,7 @@ export const AIR_ID = "bworld:air";
|
||||
|
||||
// bump when a client and server of different versions can't play together.
|
||||
// the server rejects a different version before the client downloads anything
|
||||
export const PROTOCOL_VERSION = 15;
|
||||
export const PROTOCOL_VERSION = 16;
|
||||
|
||||
export interface PlayerInfo {
|
||||
id: string;
|
||||
@@ -211,8 +211,8 @@ export type ServerMessage =
|
||||
| { type: "time"; time: number }
|
||||
// answers suggest: start is where in the text the suggestions replace from, up to the caret
|
||||
| { type: "suggestions"; id: number; start: number; suggestions: { text: string; tooltip?: string }[] }
|
||||
// the player's own health, hunger and saturation, when they change
|
||||
| { type: "vitals"; health: number; food: number; saturation: number }
|
||||
// the player's own health, max health, hunger and saturation, when they change
|
||||
| { type: "vitals"; health: number; max_health: number; food: number; saturation: number }
|
||||
// the player's own attack speed attribute, when it changes, for the attack indicator under the crosshair
|
||||
| { type: "attack_speed"; value: number }
|
||||
// a mod's server script talking to its client script, see ctx.net
|
||||
|
||||
Reference in New Issue
Block a user