Package net.minecraft.entity.boss
Class ServerBossBar
java.lang.Object
net.minecraft.entity.boss.BossBar
net.minecraft.entity.boss.ServerBossBar
- Direct Known Subclasses:
CommandBossBar
- Mappings:
Namespace Name official adf
intermediary net/minecraft/class_3213
named net/minecraft/entity/boss/ServerBossBar
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.boss.BossBar
BossBar.Color, BossBar.Style
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set<ServerPlayerEntity>
private final Set<ServerPlayerEntity>
private boolean
Fields inherited from class net.minecraft.entity.boss.BossBar
color, darkenSky, dragonMusic, name, percent, style, thickenFog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayer
(ServerPlayerEntity player) void
boolean
void
removePlayer
(ServerPlayerEntity player) private void
sendPacket
(Function<BossBar, BossBarS2CPacket> bossBarToPacketFunction) void
setColor
(BossBar.Color color) setDarkenSky
(boolean darkenSky) setDragonMusic
(boolean dragonMusic) void
void
setPercent
(float percentage) void
setStyle
(BossBar.Style style) setThickenFog
(boolean thickenFog) void
setVisible
(boolean visible) Methods inherited from class net.minecraft.entity.boss.BossBar
getColor, getName, getPercent, getStyle, getUuid, hasDragonMusic, shouldDarkenSky, shouldThickenFog
-
Field Details
-
players
- Mappings:
Namespace Name Mixin selector official h
Ladf;h:Ljava/util/Set;
intermediary field_13913
Lnet/minecraft/class_3213;field_13913:Ljava/util/Set;
named players
Lnet/minecraft/entity/boss/ServerBossBar;players:Ljava/util/Set;
-
unmodifiablePlayers
- Mappings:
Namespace Name Mixin selector official i
Ladf;i:Ljava/util/Set;
intermediary field_13914
Lnet/minecraft/class_3213;field_13914:Ljava/util/Set;
named unmodifiablePlayers
Lnet/minecraft/entity/boss/ServerBossBar;unmodifiablePlayers:Ljava/util/Set;
-
visible
private boolean visible- Mappings:
Namespace Name Mixin selector official j
Ladf;j:Z
intermediary field_13912
Lnet/minecraft/class_3213;field_13912:Z
named visible
Lnet/minecraft/entity/boss/ServerBossBar;visible:Z
-
-
Constructor Details
-
ServerBossBar
- Mappings:
Namespace Name Mixin selector official <init>
Ladf;<init>(Lpz;Lavg$a;Lavg$b;)V
intermediary <init>
Lnet/minecraft/class_3213;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_1259$class_1260;Lnet/minecraft/class_1259$class_1261;)V
named <init>
Lnet/minecraft/entity/boss/ServerBossBar;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/entity/boss/BossBar$Color;Lnet/minecraft/entity/boss/BossBar$Style;)V
-
-
Method Details
-
setPercent
public void setPercent(float percentage) - Overrides:
setPercent
in classBossBar
- Mappings:
Namespace Name Mixin selector official a
Lavg;a(F)V
intermediary method_5408
Lnet/minecraft/class_1259;method_5408(F)V
named setPercent
Lnet/minecraft/entity/boss/BossBar;setPercent(F)V
-
setColor
- Overrides:
setColor
in classBossBar
- Mappings:
Namespace Name Mixin selector official a
Lavg;a(Lavg$a;)V
intermediary method_5416
Lnet/minecraft/class_1259;method_5416(Lnet/minecraft/class_1259$class_1260;)V
named setColor
Lnet/minecraft/entity/boss/BossBar;setColor(Lnet/minecraft/entity/boss/BossBar$Color;)V
-
setStyle
- Overrides:
setStyle
in classBossBar
- Mappings:
Namespace Name Mixin selector official a
Lavg;a(Lavg$b;)V
intermediary method_5409
Lnet/minecraft/class_1259;method_5409(Lnet/minecraft/class_1259$class_1261;)V
named setStyle
Lnet/minecraft/entity/boss/BossBar;setStyle(Lnet/minecraft/entity/boss/BossBar$Style;)V
-
setDarkenSky
- Overrides:
setDarkenSky
in classBossBar
- Mappings:
Namespace Name Mixin selector official a
Lavg;a(Z)Lavg;
intermediary method_5406
Lnet/minecraft/class_1259;method_5406(Z)Lnet/minecraft/class_1259;
named setDarkenSky
Lnet/minecraft/entity/boss/BossBar;setDarkenSky(Z)Lnet/minecraft/entity/boss/BossBar;
-
setDragonMusic
- Overrides:
setDragonMusic
in classBossBar
- Mappings:
Namespace Name Mixin selector official b
Lavg;b(Z)Lavg;
intermediary method_5410
Lnet/minecraft/class_1259;method_5410(Z)Lnet/minecraft/class_1259;
named setDragonMusic
Lnet/minecraft/entity/boss/BossBar;setDragonMusic(Z)Lnet/minecraft/entity/boss/BossBar;
-
setThickenFog
- Overrides:
setThickenFog
in classBossBar
- Mappings:
Namespace Name Mixin selector official c
Lavg;c(Z)Lavg;
intermediary method_5411
Lnet/minecraft/class_1259;method_5411(Z)Lnet/minecraft/class_1259;
named setThickenFog
Lnet/minecraft/entity/boss/BossBar;setThickenFog(Z)Lnet/minecraft/entity/boss/BossBar;
-
setName
-
sendPacket
- Mappings:
Namespace Name Mixin selector official a
Ladf;a(Ljava/util/function/Function;)V
intermediary method_14090
Lnet/minecraft/class_3213;method_14090(Ljava/util/function/Function;)V
named sendPacket
Lnet/minecraft/entity/boss/ServerBossBar;sendPacket(Ljava/util/function/Function;)V
-
addPlayer
- Mappings:
Namespace Name Mixin selector official a
Ladf;a(Ladj;)V
intermediary method_14088
Lnet/minecraft/class_3213;method_14088(Lnet/minecraft/class_3222;)V
named addPlayer
Lnet/minecraft/entity/boss/ServerBossBar;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
removePlayer
- Mappings:
Namespace Name Mixin selector official b
Ladf;b(Ladj;)V
intermediary method_14089
Lnet/minecraft/class_3213;method_14089(Lnet/minecraft/class_3222;)V
named removePlayer
Lnet/minecraft/entity/boss/ServerBossBar;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
clearPlayers
public void clearPlayers()- Mappings:
Namespace Name Mixin selector official b
Ladf;b()V
intermediary method_14094
Lnet/minecraft/class_3213;method_14094()V
named clearPlayers
Lnet/minecraft/entity/boss/ServerBossBar;clearPlayers()V
-
isVisible
public boolean isVisible()- Mappings:
Namespace Name Mixin selector official g
Ladf;g()Z
intermediary method_14093
Lnet/minecraft/class_3213;method_14093()Z
named isVisible
Lnet/minecraft/entity/boss/ServerBossBar;isVisible()Z
-
setVisible
public void setVisible(boolean visible) - Mappings:
Namespace Name Mixin selector official d
Ladf;d(Z)V
intermediary method_14091
Lnet/minecraft/class_3213;method_14091(Z)V
named setVisible
Lnet/minecraft/entity/boss/ServerBossBar;setVisible(Z)V
-
getPlayers
- Mappings:
Namespace Name Mixin selector official h
Ladf;h()Ljava/util/Collection;
intermediary method_14092
Lnet/minecraft/class_3213;method_14092()Ljava/util/Collection;
named getPlayers
Lnet/minecraft/entity/boss/ServerBossBar;getPlayers()Ljava/util/Collection;
-