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 pr
intermediary net/minecraft/class_2629
named net/minecraft/network/packet/s2c/play/BossBarS2CPacket
  • Field Details

    • uuid

      private UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official a Lpr;a: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;
    • type

      private BossBarS2CPacket.Type type
      Mappings:
      Namespace Name Mixin selector
      official b Lpr;b:Lpr$a;
      intermediary field_12075 Lnet/minecraft/class_2629;field_12075:Lnet/minecraft/class_2629$class_2630;
      named type Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;type:Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
    • name

      private Text name
      Mappings:
      Namespace Name Mixin selector
      official c Lpr;c:Loi;
      intermediary field_12071 Lnet/minecraft/class_2629;field_12071:Lnet/minecraft/class_2561;
      named name Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;name:Lnet/minecraft/text/Text;
    • percent

      private float percent
      Mappings:
      Namespace Name Mixin selector
      official d Lpr;d:F
      intermediary field_12069 Lnet/minecraft/class_2629;field_12069:F
      named percent Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;percent:F
    • color

      private BossBar.Color color
      Mappings:
      Namespace Name Mixin selector
      official e Lpr;e:Lapg$a;
      intermediary field_12073 Lnet/minecraft/class_2629;field_12073:Lnet/minecraft/class_1259$class_1260;
      named color Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;color:Lnet/minecraft/entity/boss/BossBar$Color;
    • overlay

      private BossBar.Style overlay
      Mappings:
      Namespace Name Mixin selector
      official f Lpr;f:Lapg$b;
      intermediary field_12076 Lnet/minecraft/class_2629;field_12076:Lnet/minecraft/class_1259$class_1261;
      named overlay Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;overlay:Lnet/minecraft/entity/boss/BossBar$Style;
    • darkenSky

      private boolean darkenSky
      Mappings:
      Namespace Name Mixin selector
      official g Lpr;g:Z
      intermediary field_12072 Lnet/minecraft/class_2629;field_12072:Z
      named darkenSky Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;darkenSky:Z
    • dragonMusic

      private boolean dragonMusic
      Mappings:
      Namespace Name Mixin selector
      official h Lpr;h:Z
      intermediary field_12070 Lnet/minecraft/class_2629;field_12070:Z
      named dragonMusic Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;dragonMusic:Z
    • thickenFog

      private boolean thickenFog
      Mappings:
      Namespace Name Mixin selector
      official i Lpr;i:Z
      intermediary field_12068 Lnet/minecraft/class_2629;field_12068:Z
      named thickenFog Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;thickenFog:Z
  • Constructor Details

    • BossBarS2CPacket

      public BossBarS2CPacket()
    • BossBarS2CPacket

      public BossBarS2CPacket​(BossBarS2CPacket.Type action, BossBar bossBar)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpr;<init>(Lpr$a;Lapg;)V
      intermediary <init> Lnet/minecraft/class_2629;<init>(Lnet/minecraft/class_2629$class_2630;Lnet/minecraft/class_1259;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;<init>(Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;Lnet/minecraft/entity/boss/BossBar;)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • setFlagBitfield

      private void setFlagBitfield​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lpr;a(I)V
      intermediary method_11323 Lnet/minecraft/class_2629;method_11323(I)V
      named setFlagBitfield Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;setFlagBitfield(I)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • getFlagBitfield

      private int getFlagBitfield()
      Mappings:
      Namespace Name Mixin selector
      official k Lpr;k()I
      intermediary method_11326 Lnet/minecraft/class_2629;method_11326()I
      named getFlagBitfield Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;getFlagBitfield()I
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpr;a(Lpd;)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
    • getUuid

      @Environment(CLIENT) public UUID getUuid()
      Mappings:
      Namespace Name Mixin selector
      official b Lpr;b()Ljava/util/UUID;
      intermediary method_11322 Lnet/minecraft/class_2629;method_11322()Ljava/util/UUID;
      named getUuid Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;getUuid()Ljava/util/UUID;
    • getType

      Mappings:
      Namespace Name Mixin selector
      official c Lpr;c()Lpr$a;
      intermediary method_11324 Lnet/minecraft/class_2629;method_11324()Lnet/minecraft/class_2629$class_2630;
      named getType Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;getType()Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
    • getName

      @Environment(CLIENT) public Text getName()
      Mappings:
      Namespace Name Mixin selector
      official d Lpr;d()Loi;
      intermediary method_11328 Lnet/minecraft/class_2629;method_11328()Lnet/minecraft/class_2561;
      named getName Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;getName()Lnet/minecraft/text/Text;
    • getPercent

      @Environment(CLIENT) public float getPercent()
      Mappings:
      Namespace Name Mixin selector
      official e Lpr;e()F
      intermediary method_11327 Lnet/minecraft/class_2629;method_11327()F
      named getPercent Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;getPercent()F
    • getColor

      @Environment(CLIENT) public BossBar.Color getColor()
      Mappings:
      Namespace Name Mixin selector
      official f Lpr;f()Lapg$a;
      intermediary method_11325 Lnet/minecraft/class_2629;method_11325()Lnet/minecraft/class_1259$class_1260;
      named getColor Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;getColor()Lnet/minecraft/entity/boss/BossBar$Color;
    • getOverlay

      @Environment(CLIENT) public BossBar.Style getOverlay()
      Mappings:
      Namespace Name Mixin selector
      official g Lpr;g()Lapg$b;
      intermediary method_11329 Lnet/minecraft/class_2629;method_11329()Lnet/minecraft/class_1259$class_1261;
      named getOverlay Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;getOverlay()Lnet/minecraft/entity/boss/BossBar$Style;
    • shouldDarkenSky

      @Environment(CLIENT) public boolean shouldDarkenSky()
      Mappings:
      Namespace Name Mixin selector
      official h Lpr;h()Z
      intermediary method_11331 Lnet/minecraft/class_2629;method_11331()Z
      named shouldDarkenSky Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;shouldDarkenSky()Z
    • hasDragonMusic

      @Environment(CLIENT) public boolean hasDragonMusic()
      Mappings:
      Namespace Name Mixin selector
      official i Lpr;i()Z
      intermediary method_11321 Lnet/minecraft/class_2629;method_11321()Z
      named hasDragonMusic Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;hasDragonMusic()Z
    • shouldThickenFog

      @Environment(CLIENT) public boolean shouldThickenFog()
      Mappings:
      Namespace Name Mixin selector
      official j Lpr;j()Z
      intermediary method_11332 Lnet/minecraft/class_2629;method_11332()Z
      named shouldThickenFog Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;shouldThickenFog()Z