Track protocol 777 health and hunger
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user