Package net.minecraft.server.commands
Class BossBarCommands
java.lang.Object
net.minecraft.server.commands.BossBarCommands
- 
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.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.SimpleCommandExceptionTypestatic final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intcreateBar(CommandSourceStack p_136592_, ResourceLocation p_136593_, Component p_136594_) static CustomBossEventgetBossBar(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_136585_) private static intgetMax(CommandSourceStack p_136629_, CustomBossEvent p_136630_) private static intgetPlayers(CommandSourceStack p_136645_, CustomBossEvent p_136646_) private static intgetValue(CommandSourceStack p_136596_, CustomBossEvent p_136597_) private static intgetVisible(CommandSourceStack p_136640_, CustomBossEvent p_136641_) private static intlistBars(CommandSourceStack p_136590_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136583_) private static intremoveBar(CommandSourceStack p_136650_, CustomBossEvent p_136651_) private static intsetColor(CommandSourceStack p_136603_, CustomBossEvent p_136604_, BossEvent.BossBarColor p_136605_) private static intsetMax(CommandSourceStack p_136632_, CustomBossEvent p_136633_, int p_136634_) private static intsetName(CommandSourceStack p_136615_, CustomBossEvent p_136616_, Component p_136617_) private static intsetPlayers(CommandSourceStack p_136611_, CustomBossEvent p_136612_, Collection<ServerPlayer> p_136613_) private static intsetStyle(CommandSourceStack p_136607_, CustomBossEvent p_136608_, BossEvent.BossBarOverlay p_136609_) private static intsetValue(CommandSourceStack p_136599_, CustomBossEvent p_136600_, int p_136601_) private static intsetVisible(CommandSourceStack p_136619_, CustomBossEvent p_136620_, boolean p_136621_) 
- 
Field Details- 
ERROR_ALREADY_EXISTSprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_ALREADY_EXISTS
- 
ERROR_DOESNT_EXISTprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_DOESNT_EXIST
- 
ERROR_NO_PLAYER_CHANGEprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_PLAYER_CHANGE
- 
ERROR_NO_NAME_CHANGEprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_NAME_CHANGE
- 
ERROR_NO_COLOR_CHANGEprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_COLOR_CHANGE
- 
ERROR_NO_STYLE_CHANGEprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_STYLE_CHANGE
- 
ERROR_NO_VALUE_CHANGEprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_VALUE_CHANGE
- 
ERROR_NO_MAX_CHANGEprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_MAX_CHANGE
- 
ERROR_ALREADY_HIDDENprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_HIDDEN
- 
ERROR_ALREADY_VISIBLEprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_VISIBLE
- 
SUGGEST_BOSS_BARpublic static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> SUGGEST_BOSS_BAR
 
- 
- 
Constructor Details- 
BossBarCommandspublic BossBarCommands()
 
- 
- 
Method Details- 
register
- 
getValue
- 
getMax
- 
getVisible
- 
getPlayers
- 
setVisibleprivate static int setVisible(CommandSourceStack p_136619_, CustomBossEvent p_136620_, boolean p_136621_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setValueprivate static int setValue(CommandSourceStack p_136599_, CustomBossEvent p_136600_, int p_136601_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setMaxprivate static int setMax(CommandSourceStack p_136632_, CustomBossEvent p_136633_, int p_136634_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setColorprivate static int setColor(CommandSourceStack p_136603_, CustomBossEvent p_136604_, BossEvent.BossBarColor p_136605_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setStyleprivate static int setStyle(CommandSourceStack p_136607_, CustomBossEvent p_136608_, BossEvent.BossBarOverlay p_136609_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setNameprivate static int setName(CommandSourceStack p_136615_, CustomBossEvent p_136616_, Component p_136617_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setPlayersprivate static int setPlayers(CommandSourceStack p_136611_, CustomBossEvent p_136612_, Collection<ServerPlayer> p_136613_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
listBars
- 
createBarprivate static int createBar(CommandSourceStack p_136592_, ResourceLocation p_136593_, Component p_136594_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
removeBar
- 
getBossBarpublic static CustomBossEvent getBossBar(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_136585_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
 
-