| Constructor and Description |
|---|
S06PacketUpdateHealth() |
S06PacketUpdateHealth(float healthIn,
int foodLevelIn,
float saturationIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
func_180750_a(INetHandlerPlayClient p_180750_1_) |
int |
getFoodLevel() |
float |
getHealth() |
float |
getSaturationLevel() |
void |
processPacket(INetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public S06PacketUpdateHealth()
public S06PacketUpdateHealth(float healthIn,
int foodLevelIn,
float saturationIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface Packetjava.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface Packetjava.io.IOExceptionpublic void func_180750_a(INetHandlerPlayClient p_180750_1_)
public float getHealth()
public void processPacket(INetHandler handler)
processPacket in interface Packetpublic int getFoodLevel()
public float getSaturationLevel()