net.minecraft.server.commands

public class BossBarCommands

zj
net.minecraft.server.commands.BossBarCommands
net.minecraft.class_3019
net.minecraft.server.command.BossBarCommand
net.minecraft.src.C_5301_
net.minecraft.server.commands.CommandBossBar

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_ALREADY_EXISTS
field_13478
CREATE_FAILED_EXCEPTION
f_136571_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_DOESNT_EXIST
field_13486
UNKNOWN_EXCEPTION
f_136572_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_NO_PLAYER_CHANGE
field_13483
SET_PLAYERS_UNCHANGED_EXCEPTION
f_136573_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
ERROR_NO_NAME_CHANGE
field_13476
SET_NAME_UNCHANGED_EXCEPTION
f_136574_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
f
ERROR_NO_COLOR_CHANGE
field_13480
SET_COLOR_UNCHANGED_EXCEPTION
f_136575_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
g
ERROR_NO_STYLE_CHANGE
field_13481
SET_STYLE_UNCHANGED_EXCEPTION
f_136576_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
h
ERROR_NO_VALUE_CHANGE
field_13477
SET_VALUE_UNCHANGED_EXCEPTION
f_136577_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
i
ERROR_NO_MAX_CHANGE
field_13484
SET_MAX_UNCHANGED_EXCEPTION
f_136578_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
j
ERROR_ALREADY_HIDDEN
field_13479
SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION
f_136579_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
k
ERROR_ALREADY_VISIBLE
field_13485
SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION
f_136580_
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
a
SUGGEST_BOSS_BAR
field_13482
SUGGESTION_PROVIDER
f_136570_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dm> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13053(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_136582_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_136583_)
private static int
a(dm arg0, yy arg1)
getValue(CommandSourceStack arg0, CustomBossEvent arg1)
method_13065(class_2168 arg0, class_3002 arg1)
getValue(ServerCommandSource source, CommandBossBar bossBar)
m_136595_(C_2969_ p_136596_, C_5289_ p_136597_)
private static int
b(dm arg0, yy arg1)
getMax(CommandSourceStack arg0, CustomBossEvent arg1)
method_13056(class_2168 arg0, class_3002 arg1)
getMaxValue(ServerCommandSource source, CommandBossBar bossBar)
m_136628_(C_2969_ p_136629_, C_5289_ p_136630_)
private static int
c(dm arg0, yy arg1)
getVisible(CommandSourceStack arg0, CustomBossEvent arg1)
method_13041(class_2168 arg0, class_3002 arg1)
isVisible(ServerCommandSource source, CommandBossBar bossBar)
m_136639_(C_2969_ p_136640_, C_5289_ p_136641_)
private static int
d(dm arg0, yy arg1)
getPlayers(CommandSourceStack arg0, CustomBossEvent arg1)
method_13030(class_2168 arg0, class_3002 arg1)
getPlayers(ServerCommandSource source, CommandBossBar bossBar)
m_136644_(C_2969_ p_136645_, C_5289_ p_136646_)
private static int
a(dm arg0, yy arg1, boolean arg2)
setVisible(CommandSourceStack arg0, CustomBossEvent arg1, boolean arg2)
method_13068(class_2168 arg0, class_3002 arg1, boolean arg2)
setVisible(ServerCommandSource source, CommandBossBar bossBar, boolean visible)
m_136618_(C_2969_ p_136619_, C_5289_ p_136620_, boolean p_136621_)
private static int
a(dm arg0, yy arg1, int arg2)
setValue(CommandSourceStack arg0, CustomBossEvent arg1, int arg2)
method_13036(class_2168 arg0, class_3002 arg1, int arg2)
setValue(ServerCommandSource source, CommandBossBar bossBar, int value)
m_136598_(C_2969_ p_136599_, C_5289_ p_136600_, int p_136601_)
private static int
b(dm arg0, yy arg1, int arg2)
setMax(CommandSourceStack arg0, CustomBossEvent arg1, int arg2)
method_13066(class_2168 arg0, class_3002 arg1, int arg2)
setMaxValue(ServerCommandSource source, CommandBossBar bossBar, int value)
m_136631_(C_2969_ p_136632_, C_5289_ p_136633_, int p_136634_)
private static int
a(dm arg0, yy arg1, avg$a arg2)
setColor(CommandSourceStack arg0, CustomBossEvent arg1, BossEvent$BossBarColor arg2)
method_13028(class_2168 arg0, class_3002 arg1, class_1259$class_1260 arg2)
setColor(ServerCommandSource source, CommandBossBar bossBar, BossBar$Color color)
m_136602_(C_2969_ p_136603_, C_5289_ p_136604_, C_459_$C_460_ p_136605_)
private static int
a(dm arg0, yy arg1, avg$b arg2)
setStyle(CommandSourceStack arg0, CustomBossEvent arg1, BossEvent$BossBarOverlay arg2)
method_13050(class_2168 arg0, class_3002 arg1, class_1259$class_1261 arg2)
setStyle(ServerCommandSource source, CommandBossBar bossBar, BossBar$Style style)
m_136606_(C_2969_ p_136607_, C_5289_ p_136608_, C_459_$C_461_ p_136609_)
private static int
a(dm arg0, yy arg1, pz arg2)
setName(CommandSourceStack arg0, CustomBossEvent arg1, Component arg2)
method_13071(class_2168 arg0, class_3002 arg1, class_2561 arg2)
setName(ServerCommandSource source, CommandBossBar bossBar, Text name)
m_136614_(C_2969_ p_136615_, C_5289_ p_136616_, C_4996_ p_136617_)
private static int
a(dm arg0, yy arg1, Collection<adj> arg2)
setPlayers(CommandSourceStack arg0, CustomBossEvent arg1, Collection<ServerPlayer> arg2)
method_13031(class_2168 arg0, class_3002 arg1, Collection<class_3222> arg2)
setPlayers(ServerCommandSource source, CommandBossBar bossBar, Collection<ServerPlayerEntity> players)
m_136610_(C_2969_ p_136611_, C_5289_ p_136612_, Collection<C_13_> p_136613_)
private static int
a(dm arg0)
listBars(CommandSourceStack arg0)
method_13045(class_2168 arg0)
listBossBars(ServerCommandSource source)
m_136589_(C_2969_ p_136590_)
private static int
a(dm arg0, yh arg1, pz arg2)
createBar(CommandSourceStack arg0, ResourceLocation arg1, Component arg2)
method_13049(class_2168 arg0, class_2960 arg1, class_2561 arg2)
addBossBar(ServerCommandSource source, Identifier name, Text displayName)
m_136591_(C_2969_ p_136592_, C_5265_ p_136593_, C_4996_ p_136594_)
private static int
e(dm arg0, yy arg1)
removeBar(CommandSourceStack arg0, CustomBossEvent arg1)
method_13069(class_2168 arg0, class_3002 arg1)
removeBossBar(ServerCommandSource source, CommandBossBar bossBar)
m_136649_(C_2969_ p_136650_, C_5289_ p_136651_)
public static CustomBossEvent
a(com.mojang.brigadier.context.CommandContext<dm> arg0)
getBossBar(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0)
method_13054(com.mojang.brigadier.context.CommandContext<class_2168> arg0)
getBossBar(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)
m_136584_(com.mojang.brigadier.context.CommandContext<C_2969_> p_136585_)