Package net.minecraft.command.impl
Class TeamCommand
java.lang.Object
net.minecraft.command.impl.TeamCommand
- 
Field SummaryFieldsModifier 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.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intcreateTeam(CommandSource p_211916_0_, String p_211916_1_) private static intcreateTeam(CommandSource p_211917_0_, String p_211917_1_, ITextComponent p_211917_2_) private static intdeleteTeam(CommandSource p_198784_0_, ScorePlayerTeam p_198784_1_) private static intemptyTeam(CommandSource p_198788_0_, ScorePlayerTeam p_198788_1_) private static intjoinTeam(CommandSource p_198768_0_, ScorePlayerTeam p_198768_1_, Collection<String> p_198768_2_) private static intleaveTeam(CommandSource p_198786_0_, Collection<String> p_198786_1_) private static intlistMembers(CommandSource p_198782_0_, ScorePlayerTeam p_198782_1_) private static intlistTeams(CommandSource p_198792_0_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198771_0_) private static intsetCollision(CommandSource p_198787_0_, ScorePlayerTeam p_198787_1_, Team.CollisionRule p_198787_2_) private static intsetColor(CommandSource p_198757_0_, ScorePlayerTeam p_198757_1_, TextFormatting p_198757_2_) private static intsetDeathMessageVisibility(CommandSource p_198776_0_, ScorePlayerTeam p_198776_1_, Team.Visible p_198776_2_) private static intsetDisplayName(CommandSource p_211920_0_, ScorePlayerTeam p_211920_1_, ITextComponent p_211920_2_) private static intsetFriendlyFire(CommandSource p_198781_0_, ScorePlayerTeam p_198781_1_, boolean p_198781_2_) private static intsetFriendlySight(CommandSource p_198783_0_, ScorePlayerTeam p_198783_1_, boolean p_198783_2_) private static intsetNametagVisibility(CommandSource p_198777_0_, ScorePlayerTeam p_198777_1_, Team.Visible p_198777_2_) private static intsetPrefix(CommandSource p_207515_0_, ScorePlayerTeam p_207515_1_, ITextComponent p_207515_2_) private static intsetSuffix(CommandSource p_207517_0_, ScorePlayerTeam p_207517_1_, ITextComponent p_207517_2_) 
- 
Field Details- 
ERROR_TEAM_ALREADY_EXISTSprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_EXISTS
- 
ERROR_TEAM_NAME_TOO_LONGprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_TEAM_NAME_TOO_LONG
- 
ERROR_TEAM_ALREADY_EMPTYprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_EMPTY
- 
ERROR_TEAM_ALREADY_NAMEprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_NAME
- 
ERROR_TEAM_ALREADY_COLORprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_COLOR
- 
ERROR_TEAM_ALREADY_FRIENDLYFIRE_ENABLEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_FRIENDLYFIRE_ENABLED
- 
ERROR_TEAM_ALREADY_FRIENDLYFIRE_DISABLEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_FRIENDLYFIRE_DISABLED
- 
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_ENABLEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_ENABLED
- 
ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_DISABLEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_ALREADY_FRIENDLYINVISIBLES_DISABLED
- 
ERROR_TEAM_NAMETAG_VISIBLITY_UNCHANGEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_NAMETAG_VISIBLITY_UNCHANGED
- 
ERROR_TEAM_DEATH_MESSAGE_VISIBLITY_UNCHANGEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_DEATH_MESSAGE_VISIBLITY_UNCHANGED
- 
ERROR_TEAM_COLLISION_UNCHANGEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEAM_COLLISION_UNCHANGED
 
- 
- 
Constructor Details- 
TeamCommandpublic TeamCommand()
 
- 
- 
Method Details- 
register
- 
leaveTeam
- 
joinTeamprivate static int joinTeam(CommandSource p_198768_0_, ScorePlayerTeam p_198768_1_, Collection<String> p_198768_2_) 
- 
setNametagVisibilityprivate static int setNametagVisibility(CommandSource p_198777_0_, ScorePlayerTeam p_198777_1_, Team.Visible p_198777_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setDeathMessageVisibilityprivate static int setDeathMessageVisibility(CommandSource p_198776_0_, ScorePlayerTeam p_198776_1_, Team.Visible p_198776_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setCollisionprivate static int setCollision(CommandSource p_198787_0_, ScorePlayerTeam p_198787_1_, Team.CollisionRule p_198787_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setFriendlySightprivate static int setFriendlySight(CommandSource p_198783_0_, ScorePlayerTeam p_198783_1_, boolean p_198783_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setFriendlyFireprivate static int setFriendlyFire(CommandSource p_198781_0_, ScorePlayerTeam p_198781_1_, boolean p_198781_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setDisplayNameprivate static int setDisplayName(CommandSource p_211920_0_, ScorePlayerTeam p_211920_1_, ITextComponent p_211920_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setColorprivate static int setColor(CommandSource p_198757_0_, ScorePlayerTeam p_198757_1_, TextFormatting p_198757_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
emptyTeamprivate static int emptyTeam(CommandSource p_198788_0_, ScorePlayerTeam p_198788_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
deleteTeam
- 
createTeamprivate static int createTeam(CommandSource p_211916_0_, String p_211916_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
createTeamprivate static int createTeam(CommandSource p_211917_0_, String p_211917_1_, ITextComponent p_211917_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
listMembers
- 
listTeams
- 
setPrefixprivate static int setPrefix(CommandSource p_207515_0_, ScorePlayerTeam p_207515_1_, ITextComponent p_207515_2_) 
- 
setSuffixprivate static int setSuffix(CommandSource p_207517_0_, ScorePlayerTeam p_207517_1_, ITextComponent p_207517_2_) 
 
-