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 yn
intermediary net/minecraft/class_2748
named net/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket
  • Field Details

    • barProgress

      private final float barProgress
      Mappings:
      Namespace Name Mixin selector
      official a Lyn;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 Lyn;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 Lyn;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> Lyn;<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

      public ExperienceBarUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyn;<init>(Lss;)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

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvb;a(Lss;)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

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lyn;a(Lve;)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 Lyn;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 Lyn;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 Lyn;d()I
      intermediary method_11828 Lnet/minecraft/class_2748;method_11828()I
      named getExperience Lnet/minecraft/network/packet/s2c/play/ExperienceBarUpdateS2CPacket;getExperience()I