Package devs.beer.nativepackets.api
Interface HealthPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of clientbound player health and food state.
-
Method Summary
Modifier and TypeMethodDescriptionintfood()voidfood(int food) floathealth()voidhealth(float health) floatvoidsaturation(float saturation) Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
health
float health() -
food
int food() -
saturation
float saturation() -
health
void health(float health) -
food
void food(int food) -
saturation
void saturation(float saturation)
-