Class BossBarManager

java.lang.Object
net.minecraft.entity.boss.BossBarManager

public class BossBarManager
extends Object
Mappings:
Namespace Name
official wt
intermediary net/minecraft/class_3004
named net/minecraft/entity/boss/BossBarManager
  • Field Details

    • commandBossBars

      private final Map<Identifier,​CommandBossBar> commandBossBars
      Mappings:
      Namespace Name Mixin selector
      official a Lwt;a:Ljava/util/Map;
      intermediary field_13447 Lnet/minecraft/class_3004;field_13447:Ljava/util/Map;
      named commandBossBars Lnet/minecraft/entity/boss/BossBarManager;commandBossBars:Ljava/util/Map;
  • Constructor Details

    • BossBarManager

      public BossBarManager()
  • Method Details

    • get

      @Nullable public CommandBossBar get​(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lwt;a(Lwb;)Lws;
      intermediary method_12971 Lnet/minecraft/class_3004;method_12971(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3002;
      named get Lnet/minecraft/entity/boss/BossBarManager;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/entity/boss/CommandBossBar;
    • add

      public CommandBossBar add​(Identifier id, Text displayName)
      Mappings:
      Namespace Name Mixin selector
      official a Lwt;a(Lwb;Loi;)Lws;
      intermediary method_12970 Lnet/minecraft/class_3004;method_12970(Lnet/minecraft/class_2960;Lnet/minecraft/class_2561;)Lnet/minecraft/class_3002;
      named add Lnet/minecraft/entity/boss/BossBarManager;add(Lnet/minecraft/util/Identifier;Lnet/minecraft/text/Text;)Lnet/minecraft/entity/boss/CommandBossBar;
    • remove

      public void remove​(CommandBossBar bossBar)
      Mappings:
      Namespace Name Mixin selector
      official a Lwt;a(Lws;)V
      intermediary method_12973 Lnet/minecraft/class_3004;method_12973(Lnet/minecraft/class_3002;)V
      named remove Lnet/minecraft/entity/boss/BossBarManager;remove(Lnet/minecraft/entity/boss/CommandBossBar;)V
    • getIds

      public Collection<Identifier> getIds()
      Mappings:
      Namespace Name Mixin selector
      official a Lwt;a()Ljava/util/Collection;
      intermediary method_12968 Lnet/minecraft/class_3004;method_12968()Ljava/util/Collection;
      named getIds Lnet/minecraft/entity/boss/BossBarManager;getIds()Ljava/util/Collection;
    • getAll

      public Collection<CommandBossBar> getAll()
      Mappings:
      Namespace Name Mixin selector
      official b Lwt;b()Ljava/util/Collection;
      intermediary method_12969 Lnet/minecraft/class_3004;method_12969()Ljava/util/Collection;
      named getAll Lnet/minecraft/entity/boss/BossBarManager;getAll()Ljava/util/Collection;
    • toTag

      public CompoundTag toTag()
      Mappings:
      Namespace Name Mixin selector
      official c Lwt;c()Lmq;
      intermediary method_12974 Lnet/minecraft/class_3004;method_12974()Lnet/minecraft/class_2487;
      named toTag Lnet/minecraft/entity/boss/BossBarManager;toTag()Lnet/minecraft/nbt/CompoundTag;
    • fromTag

      public void fromTag​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lwt;a(Lmq;)V
      intermediary method_12972 Lnet/minecraft/class_3004;method_12972(Lnet/minecraft/class_2487;)V
      named fromTag Lnet/minecraft/entity/boss/BossBarManager;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • onPlayerConnect

      public void onPlayerConnect​(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lwt;a(Laaw;)V
      intermediary method_12975 Lnet/minecraft/class_3004;method_12975(Lnet/minecraft/class_3222;)V
      named onPlayerConnect Lnet/minecraft/entity/boss/BossBarManager;onPlayerConnect(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • onPlayerDisconnect

      public void onPlayerDisconnect​(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lwt;b(Laaw;)V
      intermediary method_12976 Lnet/minecraft/class_3004;method_12976(Lnet/minecraft/class_3222;)V
      named onPlayerDisconnect Lnet/minecraft/entity/boss/BossBarManager;onPlayerDisconnect(Lnet/minecraft/server/network/ServerPlayerEntity;)V