Package net.minecraft.server.commands
Class BossBarCommands
java.lang.Object
net.minecraft.server.commands.BossBarCommands
- 
Field Summary
FieldsModifier 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 Summary
Constructors - 
Method Summary
Modifier 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_EXISTS
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_ALREADY_EXISTS - 
ERROR_DOESNT_EXIST
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_DOESNT_EXIST - 
ERROR_NO_PLAYER_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_PLAYER_CHANGE - 
ERROR_NO_NAME_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_NAME_CHANGE - 
ERROR_NO_COLOR_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_COLOR_CHANGE - 
ERROR_NO_STYLE_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_STYLE_CHANGE - 
ERROR_NO_VALUE_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_VALUE_CHANGE - 
ERROR_NO_MAX_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_MAX_CHANGE - 
ERROR_ALREADY_HIDDEN
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_HIDDEN - 
ERROR_ALREADY_VISIBLE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_VISIBLE - 
SUGGEST_BOSS_BAR
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> SUGGEST_BOSS_BAR 
 - 
 - 
Constructor Details
- 
BossBarCommands
public BossBarCommands() 
 - 
 - 
Method Details
- 
register
 - 
getValue
 - 
getMax
 - 
getVisible
 - 
getPlayers
 - 
setVisible
private static int setVisible(CommandSourceStack p_136619_, CustomBossEvent p_136620_, boolean p_136621_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setValue
private static int setValue(CommandSourceStack p_136599_, CustomBossEvent p_136600_, int p_136601_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setMax
private static int setMax(CommandSourceStack p_136632_, CustomBossEvent p_136633_, int p_136634_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setColor
private 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
 - 
setStyle
private 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
 - 
setName
private static int setName(CommandSourceStack p_136615_, CustomBossEvent p_136616_, Component p_136617_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setPlayers
private 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
 - 
createBar
private 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
 - 
getBossBar
public static CustomBossEvent getBossBar(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_136585_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 
 -