public class ServerPlayerHealthPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerPlayerHealthPacket(float health,
int food,
float saturation) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFood() |
float |
getHealth() |
float |
getSaturation() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerPlayerHealthPacket(float health,
int food,
float saturation)
public float getHealth()
public int getFood()
public float getSaturation()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.