Class BossBarS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.BossBarS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class BossBarS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official vp
intermediary net/minecraft/class_2629
named net/minecraft/network/packet/s2c/play/BossBarS2CPacket
  • Field Details

    • DARKEN_SKY_MASK

      private static final int DARKEN_SKY_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lvp;a:I
      intermediary field_33314 Lnet/minecraft/class_2629;field_33314:I
      named DARKEN_SKY_MASK Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;DARKEN_SKY_MASK:I
    • DRAGON_MUSIC_MASK

      private static final int DRAGON_MUSIC_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lvp;b:I
      intermediary field_33315 Lnet/minecraft/class_2629;field_33315:I
      named DRAGON_MUSIC_MASK Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;DRAGON_MUSIC_MASK:I
    • THICKEN_FOG_MASK

      private static final int THICKEN_FOG_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lvp;c:I
      intermediary field_33316 Lnet/minecraft/class_2629;field_33316:I
      named THICKEN_FOG_MASK Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;THICKEN_FOG_MASK:I
    • REMOVE_ACTION

      static final BossBarS2CPacket.Action REMOVE_ACTION
      Mappings:
      Namespace Name Mixin selector
      official f Lvp;f:Lvp$c;
      intermediary field_29099 Lnet/minecraft/class_2629;field_29099:Lnet/minecraft/class_2629$class_5882;
      named REMOVE_ACTION Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;REMOVE_ACTION:Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Action;
    • uuid

      private final UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official d Lvp;d:Ljava/util/UUID;
      intermediary field_12074 Lnet/minecraft/class_2629;field_12074:Ljava/util/UUID;
      named uuid Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;uuid:Ljava/util/UUID;
    • action

      private final BossBarS2CPacket.Action action
      Mappings:
      Namespace Name Mixin selector
      official e Lvp;e:Lvp$c;
      intermediary field_12075 Lnet/minecraft/class_2629;field_12075:Lnet/minecraft/class_2629$class_5882;
      named action Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;action:Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Action;
  • Constructor Details

    • BossBarS2CPacket

      private BossBarS2CPacket(UUID uuid, BossBarS2CPacket.Action action)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvp;<init>(Ljava/util/UUID;Lvp$c;)V
      intermediary <init> Lnet/minecraft/class_2629;<init>(Ljava/util/UUID;Lnet/minecraft/class_2629$class_5882;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;<init>(Ljava/util/UUID;Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Action;)V
    • BossBarS2CPacket

      public BossBarS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvp;<init>(Lss;)V
      intermediary <init> Lnet/minecraft/class_2629;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • add

      public static BossBarS2CPacket add(BossBar bar)
      Mappings:
      Namespace Name Mixin selector
      official a Lvp;a(Lbdo;)Lvp;
      intermediary method_34089 Lnet/minecraft/class_2629;method_34089(Lnet/minecraft/class_1259;)Lnet/minecraft/class_2629;
      named add Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;add(Lnet/minecraft/entity/boss/BossBar;)Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;
    • remove

      public static BossBarS2CPacket remove(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official a Lvp;a(Ljava/util/UUID;)Lvp;
      intermediary method_34090 Lnet/minecraft/class_2629;method_34090(Ljava/util/UUID;)Lnet/minecraft/class_2629;
      named remove Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;remove(Ljava/util/UUID;)Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;
    • updateProgress

      public static BossBarS2CPacket updateProgress(BossBar bar)
      Mappings:
      Namespace Name Mixin selector
      official b Lvp;b(Lbdo;)Lvp;
      intermediary method_34094 Lnet/minecraft/class_2629;method_34094(Lnet/minecraft/class_1259;)Lnet/minecraft/class_2629;
      named updateProgress Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;updateProgress(Lnet/minecraft/entity/boss/BossBar;)Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;
    • updateName

      public static BossBarS2CPacket updateName(BossBar bar)
      Mappings:
      Namespace Name Mixin selector
      official c Lvp;c(Lbdo;)Lvp;
      intermediary method_34096 Lnet/minecraft/class_2629;method_34096(Lnet/minecraft/class_1259;)Lnet/minecraft/class_2629;
      named updateName Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;updateName(Lnet/minecraft/entity/boss/BossBar;)Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;
    • updateStyle

      public static BossBarS2CPacket updateStyle(BossBar bar)
      Mappings:
      Namespace Name Mixin selector
      official d Lvp;d(Lbdo;)Lvp;
      intermediary method_34097 Lnet/minecraft/class_2629;method_34097(Lnet/minecraft/class_1259;)Lnet/minecraft/class_2629;
      named updateStyle Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;updateStyle(Lnet/minecraft/entity/boss/BossBar;)Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;
    • updateProperties

      public static BossBarS2CPacket updateProperties(BossBar bar)
      Mappings:
      Namespace Name Mixin selector
      official e Lvp;e(Lbdo;)Lvp;
      intermediary method_34098 Lnet/minecraft/class_2629;method_34098(Lnet/minecraft/class_1259;)Lnet/minecraft/class_2629;
      named updateProperties Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;updateProperties(Lnet/minecraft/entity/boss/BossBar;)Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;
    • 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
    • maskProperties

      static int maskProperties(boolean darkenSky, boolean dragonMusic, boolean thickenFog)
      Mappings:
      Namespace Name Mixin selector
      official a Lvp;a(ZZZ)I
      intermediary method_34095 Lnet/minecraft/class_2629;method_34095(ZZZ)I
      named maskProperties Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;maskProperties(ZZZ)I
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvp;a(Lve;)V
      intermediary method_11330 Lnet/minecraft/class_2629;method_11330(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • accept

      public void accept(BossBarS2CPacket.Consumer consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lvp;a(Lvp$b;)V
      intermediary method_34091 Lnet/minecraft/class_2629;method_34091(Lnet/minecraft/class_2629$class_5881;)V
      named accept Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;accept(Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Consumer;)V