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 Packet
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet
java.io.IOException
public void func_180750_a(INetHandlerPlayClient p_180750_1_)
public float getHealth()
public void processPacket(INetHandler handler)
processPacket
in interface Packet
public int getFoodLevel()
public float getSaturationLevel()