Package net.minecraft.server.command
Class BossBarCommand
java.lang.Object
net.minecraft.server.command.BossBarCommand
public class BossBarCommand extends Object
- Mappings:
Namespace Name official xaintermediary net/minecraft/class_3019named net/minecraft/server/command/BossBarCommand
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeCREATE_FAILED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_COLOR_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_MAX_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_NAME_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_PLAYERS_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_STYLE_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_VALUE_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTIONstatic com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>SUGGESTION_PROVIDERprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeUNKNOWN_EXCEPTION -
Constructor Summary
Constructors Constructor Description BossBarCommand() -
Method Summary
Modifier and Type Method Description private 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)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_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType CREATE_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official bLxa;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_13478Lnet/minecraft/class_3019;field_13478:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;named CREATE_FAILED_EXCEPTIONLnet/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 cLxa;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_13486Lnet/minecraft/class_3019;field_13486:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;named UNKNOWN_EXCEPTIONLnet/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 dLxa;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13483Lnet/minecraft/class_3019;field_13483:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_PLAYERS_UNCHANGED_EXCEPTIONLnet/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 eLxa;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13476Lnet/minecraft/class_3019;field_13476:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_NAME_UNCHANGED_EXCEPTIONLnet/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 fLxa;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13480Lnet/minecraft/class_3019;field_13480:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_COLOR_UNCHANGED_EXCEPTIONLnet/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 gLxa;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13481Lnet/minecraft/class_3019;field_13481:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_STYLE_UNCHANGED_EXCEPTIONLnet/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 hLxa;h:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13477Lnet/minecraft/class_3019;field_13477:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_VALUE_UNCHANGED_EXCEPTIONLnet/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 iLxa;i:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13484Lnet/minecraft/class_3019;field_13484:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_MAX_UNCHANGED_EXCEPTIONLnet/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 jLxa;j:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13479Lnet/minecraft/class_3019;field_13479:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTIONLnet/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 kLxa;k:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13485Lnet/minecraft/class_3019;field_13485:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTIONLnet/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 aLxa;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;intermediary field_13482Lnet/minecraft/class_3019;field_13482:Lcom/mojang/brigadier/suggestion/SuggestionProvider;named SUGGESTION_PROVIDERLnet/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 aLxa;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13053Lnet/minecraft/class_3019;method_13053(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/BossBarCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
getValue
- Mappings:
Namespace Name Mixin selector official aLxa;a(Ldb;Lws;)Iintermediary method_13065Lnet/minecraft/class_3019;method_13065(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)Inamed getValueLnet/minecraft/server/command/BossBarCommand;getValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I
-
getMaxValue
- Mappings:
Namespace Name Mixin selector official bLxa;b(Ldb;Lws;)Iintermediary method_13056Lnet/minecraft/class_3019;method_13056(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)Inamed getMaxValueLnet/minecraft/server/command/BossBarCommand;getMaxValue(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I
-
isVisible
- Mappings:
Namespace Name Mixin selector official cLxa;c(Ldb;Lws;)Iintermediary method_13041Lnet/minecraft/class_3019;method_13041(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)Inamed isVisibleLnet/minecraft/server/command/BossBarCommand;isVisible(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;)I
-
getPlayers
- Mappings:
Namespace Name Mixin selector official dLxa;d(Ldb;Lws;)Iintermediary method_13030Lnet/minecraft/class_3019;method_13030(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)Inamed getPlayersLnet/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 aLxa;a(Ldb;Lws;Z)Iintermediary method_13068Lnet/minecraft/class_3019;method_13068(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Z)Inamed setVisibleLnet/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 aLxa;a(Ldb;Lws;I)Iintermediary method_13036Lnet/minecraft/class_3019;method_13036(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;I)Inamed setValueLnet/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 bLxa;b(Ldb;Lws;I)Iintermediary method_13066Lnet/minecraft/class_3019;method_13066(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;I)Inamed setMaxValueLnet/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 aLxa;a(Ldb;Lws;Lapg$a;)Iintermediary method_13028Lnet/minecraft/class_3019;method_13028(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Lnet/minecraft/class_1259$class_1260;)Inamed setColorLnet/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 aLxa;a(Ldb;Lws;Lapg$b;)Iintermediary method_13050Lnet/minecraft/class_3019;method_13050(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Lnet/minecraft/class_1259$class_1261;)Inamed setStyleLnet/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 aLxa;a(Ldb;Lws;Loi;)Iintermediary method_13071Lnet/minecraft/class_3019;method_13071(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Lnet/minecraft/class_2561;)Inamed setNameLnet/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 aLxa;a(Ldb;Lws;Ljava/util/Collection;)Iintermediary method_13031Lnet/minecraft/class_3019;method_13031(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;Ljava/util/Collection;)Inamed setPlayersLnet/minecraft/server/command/BossBarCommand;setPlayers(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/boss/CommandBossBar;Ljava/util/Collection;)I
-
listBossBars
- Mappings:
Namespace Name Mixin selector official aLxa;a(Ldb;)Iintermediary method_13045Lnet/minecraft/class_3019;method_13045(Lnet/minecraft/class_2168;)Inamed listBossBarsLnet/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 aLxa;a(Ldb;Lwb;Loi;)Iintermediary method_13049Lnet/minecraft/class_3019;method_13049(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;Lnet/minecraft/class_2561;)Inamed addBossBarLnet/minecraft/server/command/BossBarCommand;addBossBar(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;Lnet/minecraft/text/Text;)I
-
removeBossBar
- Mappings:
Namespace Name Mixin selector official eLxa;e(Ldb;Lws;)Iintermediary method_13069Lnet/minecraft/class_3019;method_13069(Lnet/minecraft/class_2168;Lnet/minecraft/class_3002;)Inamed removeBossBarLnet/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 aLxa;a(Lcom/mojang/brigadier/context/CommandContext;)Lws;intermediary method_13054Lnet/minecraft/class_3019;method_13054(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_3002;named getBossBarLnet/minecraft/server/command/BossBarCommand;getBossBar(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/entity/boss/CommandBossBar;
-