implements Packet<ClientGamePacketListener>
agg | |
net.minecraft.network.protocol.game.ClientboundSetHealthPacket | |
net.minecraft.class_2749 | |
net.minecraft.network.packet.s2c.play.HealthUpdateS2CPacket | |
net.minecraft.network.protocol.game.PacketPlayOutUpdateHealth |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final StreamCodec<FriendlyByteBuf, ClientboundSetHealthPacket> |
| ||||||||
private final float |
| ||||||||
private final int |
| ||||||||
private final float |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (float health, int food, float saturation) |
private | (FriendlyByteBuf buf) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
private void |
| ||||||||
public PacketType<ClientboundSetHealthPacket> |
| ||||||||
public void |
| ||||||||
public float |
| ||||||||
public int |
| ||||||||
public float |
|