Giant chesplate

This commit is contained in:
2026-10-01 16:58:30 -03:00
parent a7835261e1
commit 1fc92a7b00
21 changed files with 148 additions and 51 deletions
+2 -1
View File
@@ -56,8 +56,9 @@ const NO_INPUT: MoveInput = { x: 0, z: 0, jump: false, sprint: false, sneak: fal
export class LocalPlayer extends Player {
client: Client;
inventories = new ClientInventories();
// what the server says, see server/game/vitals.ts. out of 20
// what the server says, see server/game/vitals.ts. food out of 20, health out of max_health
health = 20;
max_health = 20;
food = 20;
saturation = 5;
// the attack speed attribute the server sent, and when they last attacked or switched slots, for the indicator