Package net.minecraft.server.commands
Class TeamCommand
java.lang.Object
net.minecraft.server.commands.TeamCommand
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate static intcreateTeam(CommandSourceStack p_138911_, String p_138912_) private static intcreateTeam(CommandSourceStack p_138914_, String p_138915_, Component p_138916_) private static intdeleteTeam(CommandSourceStack p_138927_, PlayerTeam p_138928_) private static intemptyTeam(CommandSourceStack p_138884_, PlayerTeam p_138885_) private static intjoinTeam(CommandSourceStack p_138895_, PlayerTeam p_138896_, Collection<String> p_138897_) private static intleaveTeam(CommandSourceStack p_138918_, Collection<String> p_138919_) private static intlistMembers(CommandSourceStack p_138944_, PlayerTeam p_138945_) private static intlistTeams(CommandSourceStack p_138882_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138878_) private static intsetCollision(CommandSourceStack p_138887_, PlayerTeam p_138888_, Team.CollisionRule p_138889_) private static intsetColor(CommandSourceStack p_138899_, PlayerTeam p_138900_, ChatFormatting p_138901_) private static intsetDeathMessageVisibility(CommandSourceStack p_138930_, PlayerTeam p_138931_, Team.Visibility p_138932_) private static intsetDisplayName(CommandSourceStack p_138903_, PlayerTeam p_138904_, Component p_138905_) private static intsetFriendlyFire(CommandSourceStack p_138938_, PlayerTeam p_138939_, boolean p_138940_) private static intsetFriendlySight(CommandSourceStack p_138907_, PlayerTeam p_138908_, boolean p_138909_) private static intsetNametagVisibility(CommandSourceStack p_138891_, PlayerTeam p_138892_, Team.Visibility p_138893_) private static intsetPrefix(CommandSourceStack p_138934_, PlayerTeam p_138935_, Component p_138936_) private static intsetSuffix(CommandSourceStack p_138947_, PlayerTeam p_138948_, Component p_138949_)  
- 
Field Details
- 
ERROR_TEAM_ALREADY_EXISTS
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_EXISTS - 
ERROR_TEAM_ALREADY_EMPTY
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_EMPTY - 
ERROR_TEAM_ALREADY_NAME
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_NAME - 
ERROR_TEAM_ALREADY_COLOR
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_COLOR - 
ERROR_TEAM_ALREADY_FRIENDLYFIRE_ENABLED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_FRIENDLYFIRE_ENABLED - 
ERROR_TEAM_ALREADY_FRIENDLYFIRE_DISABLED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_FRIENDLYFIRE_DISABLED - 
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_ENABLED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_ENABLED - 
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_DISABLED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_DISABLED - 
ERROR_TEAM_NAMETAG_VISIBLITY_UNCHANGED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_NAMETAG_VISIBLITY_UNCHANGED - 
ERROR_TEAM_DEATH_MESSAGE_VISIBLITY_UNCHANGED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_DEATH_MESSAGE_VISIBLITY_UNCHANGED - 
ERROR_TEAM_COLLISION_UNCHANGED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_COLLISION_UNCHANGED 
 - 
 - 
Constructor Details
- 
TeamCommand
public TeamCommand() 
 - 
 - 
Method Details
- 
register
 - 
leaveTeam
 - 
joinTeam
private static int joinTeam(CommandSourceStack p_138895_, PlayerTeam p_138896_, Collection<String> p_138897_)  - 
setNametagVisibility
private static int setNametagVisibility(CommandSourceStack p_138891_, PlayerTeam p_138892_, Team.Visibility p_138893_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setDeathMessageVisibility
private static int setDeathMessageVisibility(CommandSourceStack p_138930_, PlayerTeam p_138931_, Team.Visibility p_138932_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setCollision
private static int setCollision(CommandSourceStack p_138887_, PlayerTeam p_138888_, Team.CollisionRule p_138889_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setFriendlySight
private static int setFriendlySight(CommandSourceStack p_138907_, PlayerTeam p_138908_, boolean p_138909_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setFriendlyFire
private static int setFriendlyFire(CommandSourceStack p_138938_, PlayerTeam p_138939_, boolean p_138940_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setDisplayName
private static int setDisplayName(CommandSourceStack p_138903_, PlayerTeam p_138904_, Component p_138905_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
setColor
private static int setColor(CommandSourceStack p_138899_, PlayerTeam p_138900_, ChatFormatting p_138901_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
emptyTeam
private static int emptyTeam(CommandSourceStack p_138884_, PlayerTeam p_138885_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
deleteTeam
 - 
createTeam
private static int createTeam(CommandSourceStack p_138911_, String p_138912_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
createTeam
private static int createTeam(CommandSourceStack p_138914_, String p_138915_, Component p_138916_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
listMembers
 - 
listTeams
 - 
setPrefix
private static int setPrefix(CommandSourceStack p_138934_, PlayerTeam p_138935_, Component p_138936_)  - 
setSuffix
private static int setSuffix(CommandSourceStack p_138947_, PlayerTeam p_138948_, Component p_138949_)  
 -