public class TeamCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ADD_DUPLICATE_EXCEPTION |
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType |
ADD_LONG_NAME_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
EMPTY_UNCHANGED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OPTION_COLOR_UNCHANGED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OPTION_NAME_UNCHANGED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION |
| Constructor and Description |
|---|
TeamCommand() |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_DUPLICATE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ADD_LONG_NAME_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EMPTY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_NAME_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_COLOR_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int executeLeave(ServerCommandSource source, Collection<String> members)
private static int executeJoin(ServerCommandSource source, Team team, Collection<String> members)
private static int executeModifyNametagVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeModifyDeathMessageVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeModifyCollisionRule(ServerCommandSource source, Team team, AbstractTeam.CollisionRule collisionRule) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeModifySeeFriendlyInvisibles(ServerCommandSource source, Team team, boolean allowed) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeModifyFriendlyFire(ServerCommandSource source, Team team, boolean allowed) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeModifyDisplayName(ServerCommandSource source, Team team, Text displayName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeModifyColor(ServerCommandSource source, Team team, Formatting color) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeEmpty(ServerCommandSource source, Team team) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeRemove(ServerCommandSource source, Team team)
private static int executeAdd(ServerCommandSource source, String team) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeAdd(ServerCommandSource source, String team, Text displayName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int executeListMembers(ServerCommandSource source, Team team)
private static int executeListTeams(ServerCommandSource source)
private static int executeModifyPrefix(ServerCommandSource source, Team team, Text prefix)
private static int executeModifySuffix(ServerCommandSource source, Team team, Text suffix)