Class BossBarCommand

java.lang.Object
net.minecraft.server.command.BossBarCommand

public class BossBarCommand extends Object
Mappings:
Namespace Name
official zd
intermediary net/minecraft/class_3019
named net/minecraft/server/command/BossBarCommand
  • Field Details

    • CREATE_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType CREATE_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official b Lzd;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_13478 Lnet/minecraft/class_3019;field_13478:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named CREATE_FAILED_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;CREATE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • UNKNOWN_EXCEPTION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official c Lzd;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_13486 Lnet/minecraft/class_3019;field_13486:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named UNKNOWN_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;UNKNOWN_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • SET_PLAYERS_UNCHANGED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_PLAYERS_UNCHANGED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official d Lzd;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13483 Lnet/minecraft/class_3019;field_13483:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_PLAYERS_UNCHANGED_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;SET_PLAYERS_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_NAME_UNCHANGED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_NAME_UNCHANGED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official e Lzd;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13476 Lnet/minecraft/class_3019;field_13476:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_NAME_UNCHANGED_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;SET_NAME_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_COLOR_UNCHANGED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_COLOR_UNCHANGED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official f Lzd;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13480 Lnet/minecraft/class_3019;field_13480:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_COLOR_UNCHANGED_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;SET_COLOR_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_STYLE_UNCHANGED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_STYLE_UNCHANGED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official g Lzd;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13481 Lnet/minecraft/class_3019;field_13481:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_STYLE_UNCHANGED_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;SET_STYLE_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_VALUE_UNCHANGED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_VALUE_UNCHANGED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official h Lzd;h:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13477 Lnet/minecraft/class_3019;field_13477:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_VALUE_UNCHANGED_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;SET_VALUE_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_MAX_UNCHANGED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_MAX_UNCHANGED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official i Lzd;i:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13484 Lnet/minecraft/class_3019;field_13484:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_MAX_UNCHANGED_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;SET_MAX_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official j Lzd;j:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13479 Lnet/minecraft/class_3019;field_13479:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official k Lzd;k:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13485 Lnet/minecraft/class_3019;field_13485:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION Lnet/minecraft/server/command/BossBarCommand;SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SUGGESTION_PROVIDER

      public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      intermediary field_13482 Lnet/minecraft/class_3019;field_13482:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      named SUGGESTION_PROVIDER Lnet/minecraft/server/command/BossBarCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
  • Constructor Details

    • BossBarCommand

      public BossBarCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13053 Lnet/minecraft/class_3019;method_13053(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/BossBarCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • getValue

      private static int getValue(ServerCommandSource source, CommandBossBar bossBar)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldm;Lys;)I
      intermediary method_13065 Lnet/minecraft/class_3019;method_13065(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I
      named getValue Lnet/minecraft/server/command/BossBarCommand;getValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I
    • getMaxValue

      private static int getMaxValue(ServerCommandSource source, CommandBossBar bossBar)
      Mappings:
      Namespace Name Mixin selector
      official b Lzd;b(Ldm;Lys;)I
      intermediary method_13056 Lnet/minecraft/class_3019;method_13056(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I
      named getMaxValue Lnet/minecraft/server/command/BossBarCommand;getMaxValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I
    • isVisible

      private static int isVisible(ServerCommandSource source, CommandBossBar bossBar)
      Mappings:
      Namespace Name Mixin selector
      official c Lzd;c(Ldm;Lys;)I
      intermediary method_13041 Lnet/minecraft/class_3019;method_13041(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I
      named isVisible Lnet/minecraft/server/command/BossBarCommand;isVisible(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I
    • getPlayers

      private static int getPlayers(ServerCommandSource source, CommandBossBar bossBar)
      Mappings:
      Namespace Name Mixin selector
      official d Lzd;d(Ldm;Lys;)I
      intermediary method_13030 Lnet/minecraft/class_3019;method_13030(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I
      named getPlayers Lnet/minecraft/server/command/BossBarCommand;getPlayers(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I
    • setVisible

      private static int setVisible(ServerCommandSource source, CommandBossBar bossBar, boolean visible) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldm;Lys;Z)I
      intermediary method_13068 Lnet/minecraft/class_3019;method_13068(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Z)I
      named setVisible Lnet/minecraft/server/command/BossBarCommand;setVisible(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;Z)I
    • setValue

      private static int setValue(ServerCommandSource source, CommandBossBar bossBar, int value) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldm;Lys;I)I
      intermediary method_13036 Lnet/minecraft/class_3019;method_13036(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;I)I
      named setValue Lnet/minecraft/server/command/BossBarCommand;setValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;I)I
    • setMaxValue

      private static int setMaxValue(ServerCommandSource source, CommandBossBar bossBar, int value) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official b Lzd;b(Ldm;Lys;I)I
      intermediary method_13066 Lnet/minecraft/class_3019;method_13066(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;I)I
      named setMaxValue Lnet/minecraft/server/command/BossBarCommand;setMaxValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;I)I
    • setColor

      private static int setColor(ServerCommandSource source, CommandBossBar bossBar, BossBar.Color color) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldm;Lys;Lauz$a;)I
      intermediary method_13028 Lnet/minecraft/class_3019;method_13028(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Lnet/minecraft/class_1259$class_1260;)I
      named setColor Lnet/minecraft/server/command/BossBarCommand;setColor(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;Lnet/minecraft/entity/boss/BossBar$Color;)I
    • setStyle

      private static int setStyle(ServerCommandSource source, CommandBossBar bossBar, BossBar.Style style) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldm;Lys;Lauz$b;)I
      intermediary method_13050 Lnet/minecraft/class_3019;method_13050(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Lnet/minecraft/class_1259$class_1261;)I
      named setStyle Lnet/minecraft/server/command/BossBarCommand;setStyle(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;Lnet/minecraft/entity/boss/BossBar$Style;)I
    • setName

      private static int setName(ServerCommandSource source, CommandBossBar bossBar, Text name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldm;Lys;Lpt;)I
      intermediary method_13071 Lnet/minecraft/class_3019;method_13071(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Lnet/minecraft/class_2561;)I
      named setName Lnet/minecraft/server/command/BossBarCommand;setName(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;Lnet/minecraft/text/Text;)I
    • setPlayers

      private static int setPlayers(ServerCommandSource source, CommandBossBar bossBar, Collection<ServerPlayerEntity> players) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldm;Lys;Ljava/util/Collection;)I
      intermediary method_13031 Lnet/minecraft/class_3019;method_13031(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Ljava/util/Collection;)I
      named setPlayers Lnet/minecraft/server/command/BossBarCommand;setPlayers(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;Ljava/util/Collection;)I
    • listBossBars

      private static int listBossBars(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldm;)I
      intermediary method_13045 Lnet/minecraft/class_3019;method_13045(Lnet/minecraft/class_2168;)I
      named listBossBars Lnet/minecraft/server/command/BossBarCommand;listBossBars(Lnet/minecraft/server/command/ServerCommandSource;)I
    • addBossBar

      private static int addBossBar(ServerCommandSource source, Identifier name, Text displayName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Ldm;Lyb;Lpt;)I
      intermediary method_13049 Lnet/minecraft/class_3019;method_13049(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;Lnet/minecraft/class_2561;)I
      named addBossBar Lnet/minecraft/server/command/BossBarCommand;addBossBar(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;Lnet/minecraft/text/Text;)I
    • removeBossBar

      private static int removeBossBar(ServerCommandSource source, CommandBossBar bossBar)
      Mappings:
      Namespace Name Mixin selector
      official e Lzd;e(Ldm;Lys;)I
      intermediary method_13069 Lnet/minecraft/class_3019;method_13069(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I
      named removeBossBar Lnet/minecraft/server/command/BossBarCommand;removeBossBar(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I
    • getBossBar

      public static CommandBossBar getBossBar(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Lcom/mojang/brigadier/context/CommandContext;)Lys;
      intermediary method_13054 Lnet/minecraft/class_3019;method_13054(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_3002;
      named getBossBar Lnet/minecraft/server/command/BossBarCommand;getBossBar(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/entity/boss/CommandBossBar;