net.minecraft.server.commands

public class TeamCommand

tt
net.minecraft.server.commands.TeamCommand
net.minecraft.class_3142
net.minecraft.server.command.TeamCommand
net.minecraft.command.impl.TeamCommand
net.minecraft.server.v1_14_R1.CommandTeam

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_TEAM_ALREADY_EXISTS
field_13749
ADD_DUPLICATE_EXCEPTION
field_198793_a
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_TEAM_NAME_TOO_LONG
field_13748
ADD_LONGNAME_EXCEPTION
field_198794_b
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_TEAM_ALREADY_EMPTY
field_13751
EMPTY_UNCHANGED_EXCEPTION
field_198796_d
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_TEAM_ALREADY_NAME
field_13755
OPTION_NAME_UNCHANGED_EXCEPTION
field_211921_d
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
ERROR_TEAM_ALREADY_COLOR
field_13746
OPTION_COLOR_UNCHANGED_EXCEPTION
field_198797_e
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
f
ERROR_TEAM_ALREADY_FRIENDLYFIRE_ENABLED
field_13753
OPTION_FRIENDLYFIRE_ALREADYENABLED_EXCEPTION
field_198798_f
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
g
ERROR_TEAM_ALREADY_FRIENDLYFIRE_DISABLED
field_13754
OPTION_FRIENDLYFIRE_ALREADYDISABLED_EXCEPTION
field_198799_g
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
h
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_ENABLED
field_13747
OPTION_SEEFRIENDLYINVISIBLES_ALREADYENABLED_EXCEPTION
field_198800_h
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
i
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_DISABLED
field_13756
SEEFRIENDLYINVISIBLES_ALREADYDSISABLED_EXCEPTION
field_198801_i
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
j
ERROR_TEAM_NAMETAG_VISIBLITY_UNCHANGED
field_13752
OPTION_NAMETAGEVISIBILITY_UNCHANGED_EXCEPTION
field_198802_j
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
k
ERROR_TEAM_DEATH_MESSAGE_VISIBLITY_UNCHANGED
field_13757
OPTION_DEATHMESSAGEVISIBILITY_UNCHANGED_EXCEPTION
field_198803_k
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
l
ERROR_TEAM_COLLISION_UNCHANGED
field_13750
OPTION_COLLISIONRULE_UNCHANGED_EXCEPTION
field_198804_l

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<cd> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13736(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_198771_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static int
a(cd arg0, Collection<String> arg1)
leaveTeam(CommandSourceStack arg0, Collection<String> arg1)
method_13714(class_2168 arg0, Collection<String> arg1)
executeLeave(ServerCommandSource source, Collection<String> members)
func_198786_a(CommandSource arg0, Collection<String> arg1)
private static int
a(cd arg0, ctg 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)
func_198768_a(CommandSource arg0, ScorePlayerTeam arg1, Collection<String> arg2)
private static int
a(cd arg0, ctg arg1, ctk$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)
func_198777_a(CommandSource arg0, ScorePlayerTeam arg1, Team$Visible arg2)
private static int
b(cd arg0, ctg arg1, ctk$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)
func_198776_b(CommandSource arg0, ScorePlayerTeam arg1, Team$Visible arg2)
private static int
a(cd arg0, ctg arg1, ctk$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)
func_198787_a(CommandSource arg0, ScorePlayerTeam arg1, Team$CollisionRule arg2)
private static int
a(cd arg0, ctg 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)
func_198783_a(CommandSource arg0, ScorePlayerTeam arg1, boolean arg2)
private static int
b(cd arg0, ctg 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)
func_198781_b(CommandSource arg0, ScorePlayerTeam arg1, boolean arg2)
private static int
a(cd arg0, ctg arg1, jo 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)
func_211920_a(CommandSource arg0, ScorePlayerTeam arg1, ITextComponent arg2)
private static int
a(cd arg0, ctg arg1, c 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)
func_198757_a(CommandSource arg0, ScorePlayerTeam arg1, TextFormatting arg2)
private static int
a(cd arg0, ctg arg1)
emptyTeam(CommandSourceStack arg0, PlayerTeam arg1)
method_13723(class_2168 arg0, class_268 arg1)
executeEmpty(ServerCommandSource source, Team team)
func_198788_a(CommandSource arg0, ScorePlayerTeam arg1)
private static int
b(cd arg0, ctg arg1)
deleteTeam(CommandSourceStack arg0, PlayerTeam arg1)
method_13747(class_2168 arg0, class_268 arg1)
executeRemove(ServerCommandSource source, Team team)
func_198784_b(CommandSource arg0, ScorePlayerTeam arg1)
private static int
a(cd arg0, String arg1)
createTeam(CommandSourceStack arg0, String arg1)
method_13757(class_2168 arg0, String arg1)
executeAdd(ServerCommandSource source, String team)
func_211916_a(CommandSource arg0, String arg1)
private static int
a(cd arg0, String arg1, jo 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)
func_211917_a(CommandSource arg0, String arg1, ITextComponent arg2)
private static int
c(cd arg0, ctg arg1)
listMembers(CommandSourceStack arg0, PlayerTeam arg1)
method_13748(class_2168 arg0, class_268 arg1)
executeListMembers(ServerCommandSource source, Team team)
func_198782_c(CommandSource arg0, ScorePlayerTeam arg1)
private static int
a(cd arg0)
listTeams(CommandSourceStack arg0)
method_13728(class_2168 arg0)
executeListTeams(ServerCommandSource source)
func_198792_a(CommandSource arg0)
private static int
b(cd arg0, ctg arg1, jo 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)
func_207515_a(CommandSource arg0, ScorePlayerTeam arg1, ITextComponent arg2)
private static int
c(cd arg0, ctg arg1, jo 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)
func_207517_b(CommandSource arg0, ScorePlayerTeam arg1, ITextComponent arg2)