Class BossBarManager

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

public class BossBarManager extends Object
Mappings:
Namespace Name
official xo
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 Lxo;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

      Mappings:
      Namespace Name Mixin selector
      official a Lxo;a(Lww;)Lxn;
      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 Lxo;a(Lww;Los;)Lxn;
      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 Lxo;a(Lxn;)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 Lxo;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 Lxo;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;
    • toNbt

      public NbtCompound toNbt()
      Mappings:
      Namespace Name Mixin selector
      official c Lxo;c()Lna;
      intermediary method_12974 Lnet/minecraft/class_3004;method_12974()Lnet/minecraft/class_2487;
      named toNbt Lnet/minecraft/entity/boss/BossBarManager;toNbt()Lnet/minecraft/nbt/NbtCompound;
    • readNbt

      public void readNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lxo;a(Lna;)V
      intermediary method_12972 Lnet/minecraft/class_3004;method_12972(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/entity/boss/BossBarManager;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • onPlayerConnect

      public void onPlayerConnect(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lxo;a(Labs;)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 Lxo;b(Labs;)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