Represents a packet that updates the player's health, food, and saturation levels
Packet
getFoodLevel(): number
number
Gets the player's food level
Returns
The food level points
getHealth(): number
Gets the player's health value
The health points
getPacketID(): string
string
Get the ID of the packet.
The ID of the packet.
Inherited from
Packet.getPacketID
getPacketID
getSaturationLevel(): number
Gets the player's food saturation level
The saturation level
Last updated 3 months ago