Class ExperienceBarUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ExperienceBarUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class ExperienceBarUpdateS2CPacket
extends Object
implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official ya
intermediary net/minecraft/class_2748
named net/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final int
private final int
-
Constructor Summary
ConstructorDescriptionExperienceBarUpdateS2CPacket
(float barProgress, int experienceLevel, int experience) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) float
int
int
void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
barProgress
private final float barProgress- Mappings:
Namespace Name Mixin selector official a
Lya;a:F
intermediary field_12580
Lnet/minecraft/class_2748;field_12580:F
named barProgress
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;barProgress:F
-
experienceLevel
private final int experienceLevel- Mappings:
Namespace Name Mixin selector official b
Lya;b:I
intermediary field_12582
Lnet/minecraft/class_2748;field_12582:I
named experienceLevel
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;experienceLevel:I
-
experience
private final int experience- Mappings:
Namespace Name Mixin selector official c
Lya;c:I
intermediary field_12581
Lnet/minecraft/class_2748;field_12581:I
named experience
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;experience:I
-
-
Constructor Details
-
ExperienceBarUpdateS2CPacket
public ExperienceBarUpdateS2CPacket(float barProgress, int experienceLevel, int experience) - Mappings:
Namespace Name Mixin selector official <init>
Lya;<init>(FII)V
intermediary <init>
Lnet/minecraft/class_2748;<init>(FII)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;<init>(FII)V
-
ExperienceBarUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lya;<init>(Lsf;)V
intermediary <init>
Lnet/minecraft/class_2748;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luo;a(Lsf;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lya;a(Lur;)V
intermediary method_11829
Lnet/minecraft/class_2748;method_11829(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getBarProgress
public float getBarProgress()- Mappings:
Namespace Name Mixin selector official a
Lya;a()F
intermediary method_11830
Lnet/minecraft/class_2748;method_11830()F
named getBarProgress
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getBarProgress()F
-
getExperienceLevel
public int getExperienceLevel()- Mappings:
Namespace Name Mixin selector official c
Lya;c()I
intermediary method_11827
Lnet/minecraft/class_2748;method_11827()I
named getExperienceLevel
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getExperienceLevel()I
-
getExperience
public int getExperience()- Mappings:
Namespace Name Mixin selector official d
Lya;d()I
intermediary method_11828
Lnet/minecraft/class_2748;method_11828()I
named getExperience
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getExperience()I
-