net.minecraft.server.commands

public class TeamCommand

aqd
net.minecraft.server.commands.TeamCommand
net.minecraft.class_3142
net.minecraft.server.command.TeamCommand
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
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_TEAM_ALREADY_EMPTY
field_13751
EMPTY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_TEAM_ALREADY_NAME
field_13755
OPTION_NAME_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_TEAM_ALREADY_COLOR
field_13746
OPTION_COLOR_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
ERROR_TEAM_ALREADY_FRIENDLYFIRE_ENABLED
field_13753
OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
f
ERROR_TEAM_ALREADY_FRIENDLYFIRE_DISABLED
field_13754
OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
g
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_ENABLED
field_13747
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
h
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_DISABLED
field_13756
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
i
ERROR_TEAM_NAMETAG_VISIBLITY_UNCHANGED
field_13752
OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
j
ERROR_TEAM_DEATH_MESSAGE_VISIBLITY_UNCHANGED
field_13757
OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
k
ERROR_TEAM_COLLISION_UNCHANGED
field_13750
OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ew> arg0, es arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13736(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
private static Component
a(Collection<fdc> arg0)
getFirstMemberName(Collection<ScoreHolder> arg0)
method_55372(Collection<class_9015> arg0)
getMemberName(Collection<ScoreHolder> members)
private static int
a(ew arg0, Collection<fdc> arg1)
leaveTeam(CommandSourceStack arg0, Collection<ScoreHolder> arg1)
method_13714(class_2168 arg0, Collection<class_9015> arg1)
executeLeave(ServerCommandSource source, Collection<ScoreHolder> members)
private static int
a(ew arg0, fcy arg1, Collection<fdc> arg2)
joinTeam(CommandSourceStack arg0, PlayerTeam arg1, Collection<ScoreHolder> arg2)
method_13720(class_2168 arg0, class_268 arg1, Collection<class_9015> arg2)
executeJoin(ServerCommandSource source, Team team, Collection<ScoreHolder> members)
private static int
a(ew arg0, fcy arg1, fdf$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)
private static int
b(ew arg0, fcy arg1, fdf$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)
private static int
a(ew arg0, fcy arg1, fdf$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)
private static int
a(ew arg0, fcy 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)
private static int
b(ew arg0, fcy 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)
private static int
a(ew arg0, fcy arg1, xv 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)
private static int
a(ew arg0, fcy arg1, n 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)
private static int
a(ew arg0, fcy arg1)
emptyTeam(CommandSourceStack arg0, PlayerTeam arg1)
method_13723(class_2168 arg0, class_268 arg1)
executeEmpty(ServerCommandSource source, Team team)
private static int
b(ew arg0, fcy arg1)
deleteTeam(CommandSourceStack arg0, PlayerTeam arg1)
method_13747(class_2168 arg0, class_268 arg1)
executeRemove(ServerCommandSource source, Team team)
private static int
a(ew arg0, String arg1)
createTeam(CommandSourceStack arg0, String arg1)
method_13757(class_2168 arg0, String arg1)
executeAdd(ServerCommandSource source, String team)
private static int
a(ew arg0, String arg1, xv 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)
private static int
c(ew arg0, fcy arg1)
listMembers(CommandSourceStack arg0, PlayerTeam arg1)
method_13748(class_2168 arg0, class_268 arg1)
executeListMembers(ServerCommandSource source, Team team)
private static int
a(ew arg0)
listTeams(CommandSourceStack arg0)
method_13728(class_2168 arg0)
executeListTeams(ServerCommandSource source)
private static int
b(ew arg0, fcy arg1, xv 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)
private static int
c(ew arg0, fcy arg1, xv 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)