Fly command
This commit is contained in:
@@ -241,6 +241,8 @@ export type ServerMessage =
|
||||
| { type: "vitals"; health: number; max_health: number; food: number; saturation: number; air: number }
|
||||
// the player's own attack speed attribute, when it changes, for the attack indicator under the crosshair
|
||||
| { type: "attack_speed"; value: number }
|
||||
// whether the player flies, see /fly, when it changes
|
||||
| { type: "flying"; flying: boolean }
|
||||
// the player's own effects that show an icon, when they change. duration is in ticks, -1 for forever, and the
|
||||
// client counts it down itself, so it isn't sent every tick
|
||||
| { type: "effects"; effects: { id: string; amplifier: number; duration: number }[] }
|
||||
|
||||
Reference in New Issue
Block a user