net.minecraft.server.command

public class BossBarCommand

net.minecraft.server.commands.BossBarCommands
net.minecraft.server.commands.BossBarCommands
net.minecraft.class_3019
net.minecraft.server.command.BossBarCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_ALREADY_EXISTS
ERROR_ALREADY_EXISTS
field_13478
CREATE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_DOESNT_EXIST
ERROR_DOESNT_EXIST
field_13486
UNKNOWN_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_NO_PLAYER_CHANGE
ERROR_NO_PLAYER_CHANGE
field_13483
SET_PLAYERS_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_NO_NAME_CHANGE
ERROR_NO_NAME_CHANGE
field_13476
SET_NAME_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_NO_COLOR_CHANGE
ERROR_NO_COLOR_CHANGE
field_13480
SET_COLOR_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_NO_STYLE_CHANGE
ERROR_NO_STYLE_CHANGE
field_13481
SET_STYLE_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_NO_VALUE_CHANGE
ERROR_NO_VALUE_CHANGE
field_13477
SET_VALUE_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_NO_MAX_CHANGE
ERROR_NO_MAX_CHANGE
field_13484
SET_MAX_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_HIDDEN
ERROR_ALREADY_HIDDEN
field_13479
SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_VISIBLE
ERROR_ALREADY_VISIBLE
field_13485
SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>
SUGGEST_BOSS_BAR
SUGGEST_BOSS_BAR
field_13482
SUGGESTION_PROVIDER

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context)
method_13053(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
private static int
getValue(CommandSourceStack source, CustomBossEvent bossBar)
getValue(CommandSourceStack source, CustomBossEvent bossBar)
method_13065(class_2168 arg0, class_3002 arg1)
getValue(ServerCommandSource source, CommandBossBar bossBar)
private static int
getMax(CommandSourceStack source, CustomBossEvent bossBar)
getMax(CommandSourceStack source, CustomBossEvent bossBar)
method_13056(class_2168 arg0, class_3002 arg1)
getMaxValue(ServerCommandSource source, CommandBossBar bossBar)
private static int
getVisible(CommandSourceStack source, CustomBossEvent bossBar)
getVisible(CommandSourceStack source, CustomBossEvent bossBar)
method_13041(class_2168 arg0, class_3002 arg1)
isVisible(ServerCommandSource source, CommandBossBar bossBar)
private static int
getPlayers(CommandSourceStack source, CustomBossEvent bossBar)
getPlayers(CommandSourceStack source, CustomBossEvent bossBar)
method_13030(class_2168 arg0, class_3002 arg1)
getPlayers(ServerCommandSource source, CommandBossBar bossBar)
private static int
setVisible(CommandSourceStack source, CustomBossEvent bossBar, boolean visible)
setVisible(CommandSourceStack source, CustomBossEvent bossBar, boolean visible)
method_13068(class_2168 arg0, class_3002 arg1, boolean arg2)
setVisible(ServerCommandSource source, CommandBossBar bossBar, boolean visible)
private static int
setValue(CommandSourceStack source, CustomBossEvent bossBar, int value)
setValue(CommandSourceStack source, CustomBossEvent bossBar, int value)
method_13036(class_2168 arg0, class_3002 arg1, int arg2)
setValue(ServerCommandSource source, CommandBossBar bossBar, int value)
private static int
setMax(CommandSourceStack source, CustomBossEvent bossBar, int value)
setMax(CommandSourceStack source, CustomBossEvent bossBar, int value)
method_13066(class_2168 arg0, class_3002 arg1, int arg2)
setMaxValue(ServerCommandSource source, CommandBossBar bossBar, int value)
private static int
setColor(CommandSourceStack source, CustomBossEvent bossBar, BossEvent$BossBarColor color)
setColor(CommandSourceStack source, CustomBossEvent bossBar, BossEvent$BossBarColor color)
method_13028(class_2168 arg0, class_3002 arg1, class_1259$class_1260 arg2)
setColor(ServerCommandSource source, CommandBossBar bossBar, BossBar$Color color)
private static int
setStyle(CommandSourceStack source, CustomBossEvent bossBar, BossEvent$BossBarOverlay style)
setStyle(CommandSourceStack source, CustomBossEvent bossBar, BossEvent$BossBarOverlay style)
method_13050(class_2168 arg0, class_3002 arg1, class_1259$class_1261 arg2)
setStyle(ServerCommandSource source, CommandBossBar bossBar, BossBar$Style style)
private static int
setName(CommandSourceStack source, CustomBossEvent bossBar, Component name)
setName(CommandSourceStack source, CustomBossEvent bossBar, Component name)
method_13071(class_2168 arg0, class_3002 arg1, class_2561 arg2)
setName(ServerCommandSource source, CommandBossBar bossBar, Text name)
private static int
setPlayers(CommandSourceStack source, CustomBossEvent bossBar, Collection<ServerPlayer> targets)
setPlayers(CommandSourceStack source, CustomBossEvent bossBar, Collection<ServerPlayer> targets)
method_13031(class_2168 arg0, class_3002 arg1, Collection<class_3222> arg2)
setPlayers(ServerCommandSource source, CommandBossBar bossBar, Collection<ServerPlayerEntity> players)
private static int
listBars(CommandSourceStack source)
listBars(CommandSourceStack source)
method_13045(class_2168 arg0)
listBossBars(ServerCommandSource source)
private static int
createBar(CommandSourceStack source, Identifier id, Component name)
createBar(CommandSourceStack source, Identifier id, Component name)
method_13049(class_2168 arg0, class_2960 arg1, class_2561 arg2)
addBossBar(ServerCommandSource source, Identifier name, Text displayName)
private static int
removeBar(CommandSourceStack source, CustomBossEvent bossBar)
removeBar(CommandSourceStack source, CustomBossEvent bossBar)
method_13069(class_2168 arg0, class_3002 arg1)
removeBossBar(ServerCommandSource source, CommandBossBar bossBar)
public static CommandBossBar
getBossBar(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context)
getBossBar(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context)
method_13054(com.mojang.brigadier.context.CommandContext<class_2168> arg0)
getBossBar(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)