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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BossBarS2CPacket.Type
-
Field Summary
Fields Modifier and Type Field Description private BossBar.Color
color
private boolean
darkenSky
private boolean
dragonMusic
private Text
name
private BossBar.Style
overlay
private float
percent
private boolean
thickenFog
private BossBarS2CPacket.Type
type
private UUID
uuid
-
Constructor Summary
Constructors Constructor Description BossBarS2CPacket()
BossBarS2CPacket(BossBarS2CPacket.Type action, BossBar bossBar)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
BossBar.Color
getColor()
private int
getFlagBitfield()
Text
getName()
BossBar.Style
getOverlay()
float
getPercent()
BossBarS2CPacket.Type
getType()
UUID
getUuid()
boolean
hasDragonMusic()
void
read(PacketByteBuf buf)
private void
setFlagBitfield(int int2)
boolean
shouldDarkenSky()
boolean
shouldThickenFog()
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- Specified by:
read
in interfacePacket<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
- Specified by:
write
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
-