net.minecraft.server.commands

public class TeamCommand

acf
net.minecraft.server.commands.TeamCommand
net.minecraft.class_3142
net.minecraft.server.command.TeamCommand
net.minecraft.src.C_5382_
net.minecraft.server.commands.CommandTeam

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_TEAM_ALREADY_EXISTS
field_13749
ADD_DUPLICATE_EXCEPTION
f_138862_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_TEAM_ALREADY_EMPTY
field_13751
EMPTY_UNCHANGED_EXCEPTION
f_138864_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_TEAM_ALREADY_NAME
field_13755
OPTION_NAME_UNCHANGED_EXCEPTION
f_138865_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_TEAM_ALREADY_COLOR
field_13746
OPTION_COLOR_UNCHANGED_EXCEPTION
f_138866_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
ERROR_TEAM_ALREADY_FRIENDLYFIRE_ENABLED
field_13753
OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION
f_138867_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
f
ERROR_TEAM_ALREADY_FRIENDLYFIRE_DISABLED
field_13754
OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION
f_138868_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
g
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_ENABLED
field_13747
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION
f_138869_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
h
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_DISABLED
field_13756
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION
f_138870_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
i
ERROR_TEAM_NAMETAG_VISIBLITY_UNCHANGED
field_13752
OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION
f_138871_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
j
ERROR_TEAM_DEATH_MESSAGE_VISIBLITY_UNCHANGED
field_13757
OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION
f_138872_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
k
ERROR_TEAM_COLLISION_UNCHANGED
field_13750
OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION
f_138873_

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_13736(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_138877_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_138878_)
private static int
a(dm arg0, Collection<String> arg1)
leaveTeam(CommandSourceStack arg0, Collection<String> arg1)
method_13714(class_2168 arg0, Collection<String> arg1)
executeLeave(ServerCommandSource source, Collection<String> members)
m_138917_(C_2969_ p_138918_, Collection<String> p_138919_)
private static int
a(dm arg0, dqk arg1, Collection<String> arg2)
joinTeam(CommandSourceStack arg0, PlayerTeam arg1, Collection<String> arg2)
method_13720(class_2168 arg0, class_268 arg1, Collection<String> arg2)
executeJoin(ServerCommandSource source, Team team, Collection<String> members)
m_138894_(C_2969_ p_138895_, C_3074_ p_138896_, Collection<String> p_138897_)
private static int
a(dm arg0, dqk arg1, dqo$b arg2)
setNametagVisibility(CommandSourceStack arg0, PlayerTeam arg1, Team$Visibility arg2)
method_13732(class_2168 arg0, class_268 arg1, class_270$class_272 arg2)
executeModifyNametagVisibility(ServerCommandSource source, Team team, AbstractTeam$VisibilityRule visibility)
m_138890_(C_2969_ p_138891_, C_3074_ p_138892_, C_3078_$C_3080_ p_138893_)
private static int
b(dm arg0, dqk arg1, dqo$b arg2)
setDeathMessageVisibility(CommandSourceStack arg0, PlayerTeam arg1, Team$Visibility arg2)
method_13735(class_2168 arg0, class_268 arg1, class_270$class_272 arg2)
executeModifyDeathMessageVisibility(ServerCommandSource source, Team team, AbstractTeam$VisibilityRule visibility)
m_138929_(C_2969_ p_138930_, C_3074_ p_138931_, C_3078_$C_3080_ p_138932_)
private static int
a(dm arg0, dqk arg1, dqo$a arg2)
setCollision(CommandSourceStack arg0, PlayerTeam arg1, Team$CollisionRule arg2)
method_13713(class_2168 arg0, class_268 arg1, class_270$class_271 arg2)
executeModifyCollisionRule(ServerCommandSource source, Team team, AbstractTeam$CollisionRule collisionRule)
m_138886_(C_2969_ p_138887_, C_3074_ p_138888_, C_3078_$C_3079_ p_138889_)
private static int
a(dm arg0, dqk arg1, boolean arg2)
setFriendlySight(CommandSourceStack arg0, PlayerTeam arg1, boolean arg2)
method_13751(class_2168 arg0, class_268 arg1, boolean arg2)
executeModifySeeFriendlyInvisibles(ServerCommandSource source, Team team, boolean allowed)
m_138906_(C_2969_ p_138907_, C_3074_ p_138908_, boolean p_138909_)
private static int
b(dm arg0, dqk arg1, boolean arg2)
setFriendlyFire(CommandSourceStack arg0, PlayerTeam arg1, boolean arg2)
method_13754(class_2168 arg0, class_268 arg1, boolean arg2)
executeModifyFriendlyFire(ServerCommandSource source, Team team, boolean allowed)
m_138937_(C_2969_ p_138938_, C_3074_ p_138939_, boolean p_138940_)
private static int
a(dm arg0, dqk arg1, qk arg2)
setDisplayName(CommandSourceStack arg0, PlayerTeam arg1, Component arg2)
method_13711(class_2168 arg0, class_268 arg1, class_2561 arg2)
executeModifyDisplayName(ServerCommandSource source, Team team, Text displayName)
m_138902_(C_2969_ p_138903_, C_3074_ p_138904_, C_4996_ p_138905_)
private static int
a(dm arg0, dqk arg1, p arg2)
setColor(CommandSourceStack arg0, PlayerTeam arg1, ChatFormatting arg2)
method_13745(class_2168 arg0, class_268 arg1, class_124 arg2)
executeModifyColor(ServerCommandSource source, Team team, Formatting color)
m_138898_(C_2969_ p_138899_, C_3074_ p_138900_, C_4856_ p_138901_)
private static int
a(dm arg0, dqk arg1)
emptyTeam(CommandSourceStack arg0, PlayerTeam arg1)
method_13723(class_2168 arg0, class_268 arg1)
executeEmpty(ServerCommandSource source, Team team)
m_138883_(C_2969_ p_138884_, C_3074_ p_138885_)
private static int
b(dm arg0, dqk arg1)
deleteTeam(CommandSourceStack arg0, PlayerTeam arg1)
method_13747(class_2168 arg0, class_268 arg1)
executeRemove(ServerCommandSource source, Team team)
m_138926_(C_2969_ p_138927_, C_3074_ p_138928_)
private static int
a(dm arg0, String arg1)
createTeam(CommandSourceStack arg0, String arg1)
method_13757(class_2168 arg0, String arg1)
executeAdd(ServerCommandSource source, String team)
m_138910_(C_2969_ p_138911_, String p_138912_)
private static int
a(dm arg0, String arg1, qk arg2)
createTeam(CommandSourceStack arg0, String arg1, Component arg2)
method_13715(class_2168 arg0, String arg1, class_2561 arg2)
executeAdd(ServerCommandSource source, String team, Text displayName)
m_138913_(C_2969_ p_138914_, String p_138915_, C_4996_ p_138916_)
private static int
c(dm arg0, dqk arg1)
listMembers(CommandSourceStack arg0, PlayerTeam arg1)
method_13748(class_2168 arg0, class_268 arg1)
executeListMembers(ServerCommandSource source, Team team)
m_138943_(C_2969_ p_138944_, C_3074_ p_138945_)
private static int
a(dm arg0)
listTeams(CommandSourceStack arg0)
method_13728(class_2168 arg0)
executeListTeams(ServerCommandSource source)
m_138881_(C_2969_ p_138882_)
private static int
b(dm arg0, dqk arg1, qk arg2)
setPrefix(CommandSourceStack arg0, PlayerTeam arg1, Component arg2)
method_13743(class_2168 arg0, class_268 arg1, class_2561 arg2)
executeModifyPrefix(ServerCommandSource source, Team team, Text prefix)
m_138933_(C_2969_ p_138934_, C_3074_ p_138935_, C_4996_ p_138936_)
private static int
c(dm arg0, dqk arg1, qk arg2)
setSuffix(CommandSourceStack arg0, PlayerTeam arg1, Component arg2)
method_13756(class_2168 arg0, class_268 arg1, class_2561 arg2)
executeModifySuffix(ServerCommandSource source, Team team, Text suffix)
m_138946_(C_2969_ p_138947_, C_3074_ p_138948_, C_4996_ p_138949_)