Package net.minecraft.server.command
Class BossBarCommand
java.lang.Object
net.minecraft.server.command.BossBarCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/BossBarCommand- intermediary - net/minecraft/class_3019- official - ane
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intaddBossBar(ServerCommandSource source, Identifier name, Text displayName) static CommandBossBargetBossBar(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static intgetMaxValue(ServerCommandSource source, CommandBossBar bossBar) private static intgetPlayers(ServerCommandSource source, CommandBossBar bossBar) private static intgetValue(ServerCommandSource source, CommandBossBar bossBar) private static intisVisible(ServerCommandSource source, CommandBossBar bossBar) private static intlistBossBars(ServerCommandSource source) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) private static intremoveBossBar(ServerCommandSource source, CommandBossBar bossBar) private static intsetColor(ServerCommandSource source, CommandBossBar bossBar, BossBar.Color color) private static intsetMaxValue(ServerCommandSource source, CommandBossBar bossBar, int value) private static intsetName(ServerCommandSource source, CommandBossBar bossBar, Text name) private static intsetPlayers(ServerCommandSource source, CommandBossBar bossBar, Collection<ServerPlayerEntity> players) private static intsetStyle(ServerCommandSource source, CommandBossBar bossBar, BossBar.Style style) private static intsetValue(ServerCommandSource source, CommandBossBar bossBar, int value) private static intsetVisible(ServerCommandSource source, CommandBossBar bossBar, boolean visible) 
- 
Field Details- 
CREATE_FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType CREATE_FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - CREATE_FAILED_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;CREATE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- intermediary - field_13478- Lnet/minecraft/class_3019;field_13478:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- official - b- Lane;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 
- 
UNKNOWN_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - UNKNOWN_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;UNKNOWN_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- intermediary - field_13486- Lnet/minecraft/class_3019;field_13486:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- official - c- Lane;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 
- 
SET_PLAYERS_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_PLAYERS_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - SET_PLAYERS_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;SET_PLAYERS_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13483- Lnet/minecraft/class_3019;field_13483:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - d- Lane;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
SET_NAME_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_NAME_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - SET_NAME_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;SET_NAME_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13476- Lnet/minecraft/class_3019;field_13476:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - e- Lane;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
SET_COLOR_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_COLOR_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - SET_COLOR_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;SET_COLOR_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13480- Lnet/minecraft/class_3019;field_13480:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - f- Lane;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
SET_STYLE_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_STYLE_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - SET_STYLE_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;SET_STYLE_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13481- Lnet/minecraft/class_3019;field_13481:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - g- Lane;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
SET_VALUE_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_VALUE_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - SET_VALUE_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;SET_VALUE_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13477- Lnet/minecraft/class_3019;field_13477:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - h- Lane;h:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
SET_MAX_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_MAX_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - SET_MAX_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;SET_MAX_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13484- Lnet/minecraft/class_3019;field_13484:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - i- Lane;i:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13479- Lnet/minecraft/class_3019;field_13479:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - j- Lane;j:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION- Lnet/minecraft/server/command/BossBarCommand;SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13485- Lnet/minecraft/class_3019;field_13485:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - k- Lane;k:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
SUGGESTION_PROVIDERpublic static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
- Namespace - Name - Mixin selector - named - SUGGESTION_PROVIDER- Lnet/minecraft/server/command/BossBarCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;- intermediary - field_13482- Lnet/minecraft/class_3019;field_13482:Lcom/mojang/brigadier/suggestion/SuggestionProvider;- official - a- Lane;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
 
 
- 
- 
Constructor Details- 
BossBarCommandpublic BossBarCommand()
 
- 
- 
Method Details- 
registerpublic static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) - Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/BossBarCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V- intermediary - method_13053- Lnet/minecraft/class_3019;method_13053(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V- official - a- Lane;a(Lcom/mojang/brigadier/CommandDispatcher;Leg;)V
 
- 
getValue- Mappings:
- Namespace - Name - Mixin selector - named - getValue- Lnet/minecraft/server/command/BossBarCommand;getValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I- intermediary - method_13065- Lnet/minecraft/class_3019;method_13065(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I- official - a- Lane;a(Lek;Lamt;)I
 
- 
getMaxValue- Mappings:
- Namespace - Name - Mixin selector - named - getMaxValue- Lnet/minecraft/server/command/BossBarCommand;getMaxValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I- intermediary - method_13056- Lnet/minecraft/class_3019;method_13056(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I- official - b- Lane;b(Lek;Lamt;)I
 
- 
isVisible- Mappings:
- Namespace - Name - Mixin selector - named - isVisible- Lnet/minecraft/server/command/BossBarCommand;isVisible(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I- intermediary - method_13041- Lnet/minecraft/class_3019;method_13041(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I- official - c- Lane;c(Lek;Lamt;)I
 
- 
getPlayers- Mappings:
- Namespace - Name - Mixin selector - named - getPlayers- Lnet/minecraft/server/command/BossBarCommand;getPlayers(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I- intermediary - method_13030- Lnet/minecraft/class_3019;method_13030(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I- official - d- Lane;d(Lek;Lamt;)I
 
- 
setVisibleprivate 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 - named - setVisible- Lnet/minecraft/server/command/BossBarCommand;setVisible(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;Z)I- intermediary - method_13068- Lnet/minecraft/class_3019;method_13068(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Z)I- official - a- Lane;a(Lek;Lamt;Z)I
 
- 
setValueprivate 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 - named - setValue- Lnet/minecraft/server/command/BossBarCommand;setValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;I)I- intermediary - method_13036- Lnet/minecraft/class_3019;method_13036(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;I)I- official - a- Lane;a(Lek;Lamt;I)I
 
- 
setMaxValueprivate 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 - named - setMaxValue- Lnet/minecraft/server/command/BossBarCommand;setMaxValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;I)I- intermediary - method_13066- Lnet/minecraft/class_3019;method_13066(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;I)I- official - b- Lane;b(Lek;Lamt;I)I
 
- 
setColorprivate 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 - 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- intermediary - method_13028- Lnet/minecraft/class_3019;method_13028(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Lnet/minecraft/class_1259$class_1260;)I- official - a- Lane;a(Lek;Lamt;Lbus$a;)I
 
- 
setStyleprivate 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 - 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- intermediary - method_13050- Lnet/minecraft/class_3019;method_13050(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Lnet/minecraft/class_1259$class_1261;)I- official - a- Lane;a(Lek;Lamt;Lbus$b;)I
 
- 
setNameprivate 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 - named - setName- Lnet/minecraft/server/command/BossBarCommand;setName(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;Lnet/minecraft/text/Text;)I- intermediary - method_13071- Lnet/minecraft/class_3019;method_13071(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Lnet/minecraft/class_2561;)I- official - a- Lane;a(Lek;Lamt;Lxg;)I
 
- 
setPlayersprivate 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 - named - setPlayers- Lnet/minecraft/server/command/BossBarCommand;setPlayers(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;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- official - a- Lane;a(Lek;Lamt;Ljava/util/Collection;)I
 
- 
listBossBars- Mappings:
- Namespace - Name - Mixin selector - named - listBossBars- Lnet/minecraft/server/command/BossBarCommand;listBossBars(Lnet/minecraft/server/command/ServerCommandSource;)I- intermediary - method_13045- Lnet/minecraft/class_3019;method_13045(Lnet/minecraft/class_2168;)I- official - a- Lane;a(Lek;)I
 
- 
addBossBarprivate 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 - named - addBossBar- Lnet/minecraft/server/command/BossBarCommand;addBossBar(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;Lnet/minecraft/text/Text;)I- intermediary - method_13049- Lnet/minecraft/class_3019;method_13049(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;Lnet/minecraft/class_2561;)I- official - a- Lane;a(Lek;Lalr;Lxg;)I
 
- 
removeBossBar- Mappings:
- Namespace - Name - Mixin selector - named - removeBossBar- Lnet/minecraft/server/command/BossBarCommand;removeBossBar(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I- intermediary - method_13069- Lnet/minecraft/class_3019;method_13069(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)I- official - e- Lane;e(Lek;Lamt;)I
 
- 
getBossBarpublic 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 - named - getBossBar- Lnet/minecraft/server/command/BossBarCommand;getBossBar(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/entity/boss/CommandBossBar;- intermediary - method_13054- Lnet/minecraft/class_3019;method_13054(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_3002;- official - a- Lane;a(Lcom/mojang/brigadier/context/CommandContext;)Lamt;
 
 
-