Track protocol 777 health and hunger

This commit is contained in:
Tanner
2026-11-04 17:14:15 +00:00
parent 4129686b07
commit 6dbc61284a
9 changed files with 126 additions and 7 deletions
+11
View File
@@ -13,6 +13,17 @@ from .types import Nbt, Slot, Entry, Trade
from mosfet.info import blocks
class SetHealthPacket(Packet):
"""Minecraft 26.3 (protocol 777) clientbound health/food update."""
id = 0x6A
packet_name = 'set health'
definition = [
{'health': Float},
{'food': VarInt},
{'food_saturation': Float},
]
class ChunkDataPacket(Packet):
id = 0x20
packet_name = 'chunk data'