net.minecraft.network.protocol.game

public class ClientboundSetExperiencePacket

implements Packet<ClientGamePacketListener>

afr
net.minecraft.network.protocol.game.ClientboundSetExperiencePacket
net.minecraft.class_2748
net.minecraft.network.packet.s2c.play.ExperienceBarUpdateS2CPacket
net.minecraft.src.C_5120_
net.minecraft.network.protocol.game.PacketPlayOutExperience

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetExperiencePacket>
a
STREAM_CODEC
field_47983
CODEC
f_316675_
private final float
b
experienceProgress
field_12580
barProgress
f_133214_
private final int
c
totalExperience
field_12582
experienceLevel
f_133215_
private final int
d
experienceLevel
field_12581
experience
f_133216_

Constructor summary

ModifierConstructor
public (float barProgress, int experienceLevel, int experience)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55930(class_2540 arg0)
write(PacketByteBuf buf)
m_133229_(C_4983_ arg0)
public PacketType<ClientboundSetExperiencePacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11829(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public float
b()
getExperienceProgress()
method_11830()
getBarProgress()
m_133228_()
public int
e()
getTotalExperience()
method_11827()
getExperienceLevel()
m_133231_()
public int
f()
getExperienceLevel()
method_11828()
getExperience()
m_133232_()