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 afc
  • 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 Lafc;a:Lyw;
    • 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 Lafc;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 Lafc;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 Lafc;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> Lafc;<init>(FII)V
    • ExperienceBarUpdateS2CPacket

      private ExperienceBarUpdateS2CPacket(PacketByteBuf buf)
      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> Lafc;<init>(Lvv;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      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 Lafc;a(Lvv;)V
    • getPacketId

      Specified by:
      getPacketId in interface Packet<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 Lzf;a()Lzh;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<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 Lafc;a(Labt;)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 Lafc;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 Lafc;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 Lafc;f()I