net.minecraft.network.protocol.game

public class ClientboundSetHealthPacket

implements Packet<ClientGamePacketListener>

afs
net.minecraft.network.protocol.game.ClientboundSetHealthPacket
net.minecraft.class_2749
net.minecraft.network.packet.s2c.play.HealthUpdateS2CPacket
net.minecraft.src.C_5121_
net.minecraft.network.protocol.game.PacketPlayOutUpdateHealth

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetHealthPacket>
a
STREAM_CODEC
field_47984
CODEC
f_315208_
private final float
b
health
field_12584
health
f_133233_
private final int
c
food
field_12585
food
f_133234_
private final float
d
saturation
field_12583
saturation
f_133235_

Constructor summary

ModifierConstructor
public (float health, int food, float saturation)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55931(class_2540 arg0)
write(PacketByteBuf buf)
m_133248_(C_4983_ arg0)
public PacketType<ClientboundSetHealthPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11832(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public float
b()
getHealth()
method_11833()
getHealth()
m_133247_()
public int
e()
getFood()
method_11831()
getFood()
m_133250_()
public float
f()
getSaturation()
method_11834()
getSaturation()
m_133251_()