public class PacketPlayOutUpdateHealth extends OutPacket
Modifier and Type | Field and Description |
---|---|
protected int |
food |
protected float |
foodSaturation |
protected float |
health |
Constructor and Description |
---|
PacketPlayOutUpdateHealth() |
Modifier and Type | Method and Description |
---|---|
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
int |
food() |
float |
foodSaturation() |
float |
health() |
int |
id()
Gets the ID of this packet, according to the protocol specification
|
decode, direction, handleReceived, set
protected float health
protected int food
protected float foodSaturation
public PacketPlayOutUpdateHealth()
public int id()
Packet
public float health()
public int food()
public float foodSaturation()
Copyright © 2016. All rights reserved.