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 named net/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket
intermediary net/minecraft/class_2748
official afr
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
static final PacketCodec
<PacketByteBuf, ExperienceBarUpdateS2CPacket> private final int
private final int
-
Constructor Summary
ModifierConstructorDescriptionExperienceBarUpdateS2CPacket
(float barProgress, int experienceLevel, int experience) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) float
int
int
private 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, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47983
Lnet/minecraft/class_2748;field_47983:Lnet/minecraft/class_9139;
official a
Lafr;a:Lzn;
-
barProgress
private final float barProgress- Mappings:
Namespace Name Mixin selector named barProgress
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;barProgress:F
intermediary field_12580
Lnet/minecraft/class_2748;field_12580:F
official b
Lafr;b:F
-
experienceLevel
private final int experienceLevel- Mappings:
Namespace Name Mixin selector named experienceLevel
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;experienceLevel:I
intermediary field_12582
Lnet/minecraft/class_2748;field_12582:I
official c
Lafr;c:I
-
experience
private final int experience- Mappings:
Namespace Name Mixin selector named experience
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;experience:I
intermediary field_12581
Lnet/minecraft/class_2748;field_12581:I
official d
Lafr;d:I
-
-
Constructor Details
-
ExperienceBarUpdateS2CPacket
public ExperienceBarUpdateS2CPacket(float barProgress, int experienceLevel, int experience) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;<init>(FII)V
intermediary <init>
Lnet/minecraft/class_2748;<init>(FII)V
official <init>
Lafr;<init>(FII)V
-
ExperienceBarUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2748;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lafr;<init>(Lwm;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55930
Lnet/minecraft/class_2748;method_55930(Lnet/minecraft/class_2540;)V
official a
Lafr;a(Lwm;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11829
Lnet/minecraft/class_2748;method_11829(Lnet/minecraft/class_2602;)V
official a
Lafr;a(Laci;)V
-
getBarProgress
public float getBarProgress()- Mappings:
Namespace Name Mixin selector named getBarProgress
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getBarProgress()F
intermediary method_11830
Lnet/minecraft/class_2748;method_11830()F
official b
Lafr;b()F
-
getExperienceLevel
public int getExperienceLevel()- Mappings:
Namespace Name Mixin selector named getExperienceLevel
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getExperienceLevel()I
intermediary method_11827
Lnet/minecraft/class_2748;method_11827()I
official e
Lafr;e()I
-
getExperience
public int getExperience()- Mappings:
Namespace Name Mixin selector named getExperience
Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getExperience()I
intermediary method_11828
Lnet/minecraft/class_2748;method_11828()I
official f
Lafr;f()I
-