net.minecraft.network.protocol.game

public class ClientboundSetExperiencePacket

implements Packet<ClientGamePacketListener>

agf
net.minecraft.network.protocol.game.ClientboundSetExperiencePacket
net.minecraft.class_2748
net.minecraft.network.packet.s2c.play.ExperienceBarUpdateS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutExperience

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55930(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundSetExperiencePacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11829(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public float
b()
getExperienceProgress()
method_11830()
getBarProgress()
public int
e()
getTotalExperience()
method_11827()
getExperienceLevel()
public int
f()
getExperienceLevel()
method_11828()
getExperience()