public class TeamCommand
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
COLLISION_NO_CHANGE  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
COLOR_NO_CHANGE  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
DEATH_MESSAGE_VISIBILITY_NO_CHANGE  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
DUPLICATE_TEAM_NAME  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
EMPTY_NO_CHANGE  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
FRIENDLY_FIRE_ALREADY_OFF  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
FRIENDLY_FIRE_ALREADY_ON  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
NAME_NO_CHANGE  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
NAMETAG_VISIBILITY_NO_CHANGE  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
SEE_FRIENDLY_INVISIBLES_ALREADY_OFF  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
SEE_FRIENDLY_INVISIBLES_ALREADY_ON  | 
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType | 
TEAM_NAME_TOO_LONG  | 
| Constructor and Description | 
|---|
TeamCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
private static int | 
addTeam(CommandSource source,
       java.lang.String name)  | 
private static int | 
addTeam(CommandSource source,
       java.lang.String name,
       ITextComponent displayName)  | 
private static int | 
emptyTeam(CommandSource source,
         ScorePlayerTeam teamIn)  | 
private static int | 
joinTeam(CommandSource source,
        ScorePlayerTeam teamIn,
        java.util.Collection<java.lang.String> players)  | 
private static int | 
leaveFromTeams(CommandSource source,
              java.util.Collection<java.lang.String> players)  | 
private static int | 
listMembers(CommandSource source,
           ScorePlayerTeam teamIn)  | 
private static int | 
listTeams(CommandSource source)  | 
static void | 
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)  | 
private static int | 
removeTeam(CommandSource source,
          ScorePlayerTeam teamIn)  | 
private static int | 
setAllowFriendlyFire(CommandSource source,
                    ScorePlayerTeam teamIn,
                    boolean value)  | 
private static int | 
setCanSeeFriendlyInvisibles(CommandSource source,
                           ScorePlayerTeam teamIn,
                           boolean value)  | 
private static int | 
setCollisionRule(CommandSource source,
                ScorePlayerTeam teamIn,
                Team.CollisionRule rule)  | 
private static int | 
setColor(CommandSource source,
        ScorePlayerTeam teamIn,
        TextFormatting value)  | 
private static int | 
setDeathMessageVisibility(CommandSource source,
                         ScorePlayerTeam teamIn,
                         Team.Visible visibility)  | 
private static int | 
setDisplayName(CommandSource source,
              ScorePlayerTeam teamIn,
              ITextComponent value)  | 
private static int | 
setNameTagVisibility(CommandSource source,
                    ScorePlayerTeam teamIn,
                    Team.Visible visibility)  | 
private static int | 
setPrefix(CommandSource source,
         ScorePlayerTeam teamIn,
         ITextComponent prefix)  | 
private static int | 
setSuffix(CommandSource source,
         ScorePlayerTeam teamIn,
         ITextComponent suffix)  | 
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DUPLICATE_TEAM_NAME
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType TEAM_NAME_TOO_LONG
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EMPTY_NO_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NAME_NO_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType COLOR_NO_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FRIENDLY_FIRE_ALREADY_ON
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FRIENDLY_FIRE_ALREADY_OFF
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SEE_FRIENDLY_INVISIBLES_ALREADY_ON
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SEE_FRIENDLY_INVISIBLES_ALREADY_OFF
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NAMETAG_VISIBILITY_NO_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DEATH_MESSAGE_VISIBILITY_NO_CHANGE
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType COLLISION_NO_CHANGE
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int leaveFromTeams(CommandSource source, java.util.Collection<java.lang.String> players)
private static int joinTeam(CommandSource source, ScorePlayerTeam teamIn, java.util.Collection<java.lang.String> players)
private static int setNameTagVisibility(CommandSource source, ScorePlayerTeam teamIn, Team.Visible visibility) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int setDeathMessageVisibility(CommandSource source, ScorePlayerTeam teamIn, Team.Visible visibility) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int setCollisionRule(CommandSource source, ScorePlayerTeam teamIn, Team.CollisionRule rule) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int setCanSeeFriendlyInvisibles(CommandSource source, ScorePlayerTeam teamIn, boolean value) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int setAllowFriendlyFire(CommandSource source, ScorePlayerTeam teamIn, boolean value) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int setDisplayName(CommandSource source, ScorePlayerTeam teamIn, ITextComponent value) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int setColor(CommandSource source, ScorePlayerTeam teamIn, TextFormatting value) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int emptyTeam(CommandSource source, ScorePlayerTeam teamIn) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int removeTeam(CommandSource source, ScorePlayerTeam teamIn)
private static int addTeam(CommandSource source, java.lang.String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int addTeam(CommandSource source, java.lang.String name, ITextComponent displayName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int listMembers(CommandSource source, ScorePlayerTeam teamIn)
private static int listTeams(CommandSource source)
private static int setPrefix(CommandSource source, ScorePlayerTeam teamIn, ITextComponent prefix)
private static int setSuffix(CommandSource source, ScorePlayerTeam teamIn, ITextComponent suffix)