Class ServerBossBar

java.lang.Object
net.minecraft.entity.boss.BossBar
net.minecraft.entity.boss.ServerBossBar
Direct Known Subclasses:
CommandBossBar

public class ServerBossBar extends BossBar
Mappings:
Namespace Name
named net/minecraft/entity/boss/ServerBossBar
intermediary net/minecraft/class_3213
official aqq
  • Field Details

    • players

      private final Set<ServerPlayerEntity> players
      Mappings:
      Namespace Name Mixin selector
      named players Lnet/minecraft/entity/boss/ServerBossBar;players:Ljava/util/Set;
      intermediary field_13913 Lnet/minecraft/class_3213;field_13913:Ljava/util/Set;
      official h Laqq;h:Ljava/util/Set;
    • unmodifiablePlayers

      private final Set<ServerPlayerEntity> unmodifiablePlayers
      Mappings:
      Namespace Name Mixin selector
      named unmodifiablePlayers Lnet/minecraft/entity/boss/ServerBossBar;unmodifiablePlayers:Ljava/util/Set;
      intermediary field_13914 Lnet/minecraft/class_3213;field_13914:Ljava/util/Set;
      official i Laqq;i:Ljava/util/Set;
    • visible

      private boolean visible
      Mappings:
      Namespace Name Mixin selector
      named visible Lnet/minecraft/entity/boss/ServerBossBar;visible:Z
      intermediary field_13912 Lnet/minecraft/class_3213;field_13912:Z
      official j Laqq;j:Z
  • Constructor Details

    • ServerBossBar

      public ServerBossBar(Text displayName, BossBar.Color color, BossBar.Style style)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_3213;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_1259$class_1260;Lnet/minecraft/class_1259$class_1261;)V
      official <init> Laqq;<init>(Lwy;Lbqg$a;Lbqg$b;)V
  • Method Details

    • setPercent

      public void setPercent(float percent)
      Overrides:
      setPercent in class BossBar
      Mappings:
      Namespace Name Mixin selector
      named setPercent Lnet/minecraft/entity/boss/BossBar;setPercent(F)V
      intermediary method_5408 Lnet/minecraft/class_1259;method_5408(F)V
      official a Lbqg;a(F)V
    • setColor

      public void setColor(BossBar.Color color)
      Overrides:
      setColor in class BossBar
      Mappings:
      Namespace Name Mixin selector
      named setColor Lnet/minecraft/entity/boss/BossBar;setColor(Lnet/minecraft/entity/boss/BossBar$Color;)V
      intermediary method_5416 Lnet/minecraft/class_1259;method_5416(Lnet/minecraft/class_1259$class_1260;)V
      official a Lbqg;a(Lbqg$a;)V
    • setStyle

      public void setStyle(BossBar.Style style)
      Overrides:
      setStyle in class BossBar
      Mappings:
      Namespace Name Mixin selector
      named setStyle Lnet/minecraft/entity/boss/BossBar;setStyle(Lnet/minecraft/entity/boss/BossBar$Style;)V
      intermediary method_5409 Lnet/minecraft/class_1259;method_5409(Lnet/minecraft/class_1259$class_1261;)V
      official a Lbqg;a(Lbqg$b;)V
    • setDarkenSky

      public BossBar setDarkenSky(boolean darkenSky)
      Overrides:
      setDarkenSky in class BossBar
      Mappings:
      Namespace Name Mixin selector
      named setDarkenSky Lnet/minecraft/entity/boss/BossBar;setDarkenSky(Z)Lnet/minecraft/entity/boss/BossBar;
      intermediary method_5406 Lnet/minecraft/class_1259;method_5406(Z)Lnet/minecraft/class_1259;
      official a Lbqg;a(Z)Lbqg;
    • setDragonMusic

      public BossBar setDragonMusic(boolean dragonMusic)
      Overrides:
      setDragonMusic in class BossBar
      Mappings:
      Namespace Name Mixin selector
      named setDragonMusic Lnet/minecraft/entity/boss/BossBar;setDragonMusic(Z)Lnet/minecraft/entity/boss/BossBar;
      intermediary method_5410 Lnet/minecraft/class_1259;method_5410(Z)Lnet/minecraft/class_1259;
      official b Lbqg;b(Z)Lbqg;
    • setThickenFog

      public BossBar setThickenFog(boolean thickenFog)
      Overrides:
      setThickenFog in class BossBar
      Mappings:
      Namespace Name Mixin selector
      named setThickenFog Lnet/minecraft/entity/boss/BossBar;setThickenFog(Z)Lnet/minecraft/entity/boss/BossBar;
      intermediary method_5411 Lnet/minecraft/class_1259;method_5411(Z)Lnet/minecraft/class_1259;
      official c Lbqg;c(Z)Lbqg;
    • setName

      public void setName(Text name)
      Overrides:
      setName in class BossBar
      Mappings:
      Namespace Name Mixin selector
      named setName Lnet/minecraft/entity/boss/BossBar;setName(Lnet/minecraft/text/Text;)V
      intermediary method_5413 Lnet/minecraft/class_1259;method_5413(Lnet/minecraft/class_2561;)V
      official a Lbqg;a(Lwy;)V
    • sendPacket

      private void sendPacket(Function<BossBar,BossBarS2CPacket> bossBarToPacketFunction)
      Mappings:
      Namespace Name Mixin selector
      named sendPacket Lnet/minecraft/entity/boss/ServerBossBar;sendPacket(Ljava/util/function/Function;)V
      intermediary method_14090 Lnet/minecraft/class_3213;method_14090(Ljava/util/function/Function;)V
      official a Laqq;a(Ljava/util/function/Function;)V
    • addPlayer

      public void addPlayer(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named addPlayer Lnet/minecraft/entity/boss/ServerBossBar;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_14088 Lnet/minecraft/class_3213;method_14088(Lnet/minecraft/class_3222;)V
      official a Laqq;a(Laqu;)V
    • removePlayer

      public void removePlayer(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named removePlayer Lnet/minecraft/entity/boss/ServerBossBar;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_14089 Lnet/minecraft/class_3213;method_14089(Lnet/minecraft/class_3222;)V
      official b Laqq;b(Laqu;)V
    • clearPlayers

      public void clearPlayers()
      Mappings:
      Namespace Name Mixin selector
      named clearPlayers Lnet/minecraft/entity/boss/ServerBossBar;clearPlayers()V
      intermediary method_14094 Lnet/minecraft/class_3213;method_14094()V
      official b Laqq;b()V
    • isVisible

      public boolean isVisible()
      Mappings:
      Namespace Name Mixin selector
      named isVisible Lnet/minecraft/entity/boss/ServerBossBar;isVisible()Z
      intermediary method_14093 Lnet/minecraft/class_3213;method_14093()Z
      official f Laqq;f()Z
    • setVisible

      public void setVisible(boolean visible)
      Mappings:
      Namespace Name Mixin selector
      named setVisible Lnet/minecraft/entity/boss/ServerBossBar;setVisible(Z)V
      intermediary method_14091 Lnet/minecraft/class_3213;method_14091(Z)V
      official d Laqq;d(Z)V
    • getPlayers

      public Collection<ServerPlayerEntity> getPlayers()
      Mappings:
      Namespace Name Mixin selector
      named getPlayers Lnet/minecraft/entity/boss/ServerBossBar;getPlayers()Ljava/util/Collection;
      intermediary method_14092 Lnet/minecraft/class_3213;method_14092()Ljava/util/Collection;
      official g Laqq;g()Ljava/util/Collection;