Class BossBarS2CPacket.UpdateProgressAction

java.lang.Object
net.minecraft.network.packet.s2c.play.BossBarS2CPacket.UpdateProgressAction
All Implemented Interfaces:
BossBarS2CPacket.Action
Enclosing class:
BossBarS2CPacket

private static class BossBarS2CPacket.UpdateProgressAction extends Object implements BossBarS2CPacket.Action
Mappings:
Namespace Name
official xg$f
intermediary net/minecraft/class_2629$class_5885
named net/minecraft/network/packet/s2c/play/BossBarS2CPacket$UpdateProgressAction
  • Field Details

    • percent

      private final float percent
      Mappings:
      Namespace Name Mixin selector
      official a Lxg$f;a:F
      intermediary field_29116 Lnet/minecraft/class_2629$class_5885;field_29116:F
      named percent Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$UpdateProgressAction;percent:F
  • Constructor Details

    • UpdateProgressAction

      UpdateProgressAction(float percent)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxg$f;<init>(F)V
      intermediary <init> Lnet/minecraft/class_2629$class_5885;<init>(F)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$UpdateProgressAction;<init>(F)V
    • UpdateProgressAction

      private UpdateProgressAction(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxg$f;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2629$class_5885;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$UpdateProgressAction;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • getType

      public BossBarS2CPacket.Type getType()
      Specified by:
      getType in interface BossBarS2CPacket.Action
      Mappings:
      Namespace Name Mixin selector
      official a Lxg$c;a()Lxg$d;
      intermediary method_34105 Lnet/minecraft/class_2629$class_5882;method_34105()Lnet/minecraft/class_2629$class_5883;
      named getType Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Action;getType()Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
    • accept

      public void accept(UUID uuid, BossBarS2CPacket.Consumer consumer)
      Specified by:
      accept in interface BossBarS2CPacket.Action
      Mappings:
      Namespace Name Mixin selector
      official a Lxg$c;a(Ljava/util/UUID;Lxg$b;)V
      intermediary method_34106 Lnet/minecraft/class_2629$class_5882;method_34106(Ljava/util/UUID;Lnet/minecraft/class_2629$class_5881;)V
      named accept Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Action;accept(Ljava/util/UUID;Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Consumer;)V
    • toPacket

      public void toPacket(PacketByteBuf buf)
      Specified by:
      toPacket in interface BossBarS2CPacket.Action
      Mappings:
      Namespace Name Mixin selector
      official a Lxg$c;a(Lso;)V
      intermediary method_34107 Lnet/minecraft/class_2629$class_5882;method_34107(Lnet/minecraft/class_2540;)V
      named toPacket Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Action;toPacket(Lnet/minecraft/network/PacketByteBuf;)V