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 rw
intermediary net/minecraft/class_2748
named net/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private float
barProgress
private int
experience
private int
experienceLevel
-
Constructor Summary
Constructors Constructor Description ExperienceBarUpdateS2CPacket()
ExperienceBarUpdateS2CPacket(float barProgress, int experienceLevel, int experience)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
float
getBarProgress()
int
getExperience()
int
getExperienceLevel()
void
read(PacketByteBuf buf)
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
isWritingErrorSkippable
-
Field Details
-
barProgress
private float barProgress- Mappings:
Namespace Name Mixin selector official a
Lrw;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 int experienceLevel- Mappings:
Namespace Name Mixin selector official b
Lrw;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 int experience- Mappings:
Namespace Name Mixin selector official c
Lrw;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() -
ExperienceBarUpdateS2CPacket
public ExperienceBarUpdateS2CPacket(float barProgress, int experienceLevel, int experience)- Mappings:
Namespace Name Mixin selector official <init>
Lrw;<init>(FII)V
intermediary <init>
Lnet/minecraft/class_2748;<init>(FII)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;<init>(FII)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lrw;a(Lpd;)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
- Mappings:
Namespace Name Mixin selector official b
Lrw;b()F
intermediary method_11830
Lnet/minecraft/class_2748;method_11830()F
named getBarProgress
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getBarProgress()F
-
getExperienceLevel
- Mappings:
Namespace Name Mixin selector official c
Lrw;c()I
intermediary method_11827
Lnet/minecraft/class_2748;method_11827()I
named getExperienceLevel
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getExperienceLevel()I
-
getExperience
- Mappings:
Namespace Name Mixin selector official d
Lrw;d()I
intermediary method_11828
Lnet/minecraft/class_2748;method_11828()I
named getExperience
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getExperience()I
-