Package net.minecraft.server.command
Class TeamCommand
java.lang.Object
net.minecraft.server.command.TeamCommand
- Mappings:
- Namespace - Name - official - agl- intermediary - net/minecraft/class_3142- named - net/minecraft/server/command/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.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intexecuteAdd(ServerCommandSource source, String team) private static intexecuteAdd(ServerCommandSource source, String team, Text displayName) private static intexecuteEmpty(ServerCommandSource source, Team team) private static intexecuteJoin(ServerCommandSource source, Team team, Collection<String> members) private static intexecuteLeave(ServerCommandSource source, Collection<String> members) private static intexecuteListMembers(ServerCommandSource source, Team team) private static intexecuteListTeams(ServerCommandSource source) private static intexecuteModifyCollisionRule(ServerCommandSource source, Team team, AbstractTeam.CollisionRule collisionRule) private static intexecuteModifyColor(ServerCommandSource source, Team team, Formatting color) private static intexecuteModifyDeathMessageVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static intexecuteModifyDisplayName(ServerCommandSource source, Team team, Text displayName) private static intexecuteModifyFriendlyFire(ServerCommandSource source, Team team, boolean allowed) private static intexecuteModifyNametagVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static intexecuteModifyPrefix(ServerCommandSource source, Team team, Text prefix) private static intexecuteModifySeeFriendlyInvisibles(ServerCommandSource source, Team team, boolean allowed) private static intexecuteModifySuffix(ServerCommandSource source, Team team, Text suffix) private static intexecuteRemove(ServerCommandSource source, Team team) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) 
- 
Field Details- 
ADD_DUPLICATE_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_DUPLICATE_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13749- Lnet/minecraft/class_3142;field_13749:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - ADD_DUPLICATE_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;ADD_DUPLICATE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
EMPTY_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EMPTY_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - b- Lagl;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13751- Lnet/minecraft/class_3142;field_13751:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - EMPTY_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;EMPTY_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OPTION_NAME_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_NAME_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - c- Lagl;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13755- Lnet/minecraft/class_3142;field_13755:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OPTION_NAME_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;OPTION_NAME_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OPTION_COLOR_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_COLOR_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - d- Lagl;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13746- Lnet/minecraft/class_3142;field_13746:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OPTION_COLOR_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;OPTION_COLOR_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - e- Lagl;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13753- Lnet/minecraft/class_3142;field_13753:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - f- Lagl;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13754- Lnet/minecraft/class_3142;field_13754:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - g- Lagl;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13747- Lnet/minecraft/class_3142;field_13747:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - h- Lagl;h:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13756- Lnet/minecraft/class_3142;field_13756:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - i- Lagl;i:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13752- Lnet/minecraft/class_3142;field_13752:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - j- Lagl;j:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13757- Lnet/minecraft/class_3142;field_13757:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OPTION_COLLISION_RULE_UNCHANGED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - k- Lagl;k:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13750- Lnet/minecraft/class_3142;field_13750:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION- Lnet/minecraft/server/command/TeamCommand;OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
TeamCommandpublic TeamCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_13736- Lnet/minecraft/class_3142;method_13736(Lcom/mojang/brigadier/CommandDispatcher;)V- named - register- Lnet/minecraft/server/command/TeamCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
executeLeave- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Ljava/util/Collection;)I- intermediary - method_13714- Lnet/minecraft/class_3142;method_13714(Lnet/minecraft/class_2168;Ljava/util/Collection;)I- named - executeLeave- Lnet/minecraft/server/command/TeamCommand;executeLeave(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
 
- 
executeJoin- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Lefe;Ljava/util/Collection;)I- intermediary - method_13720- Lnet/minecraft/class_3142;method_13720(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Ljava/util/Collection;)I- named - executeJoin- Lnet/minecraft/server/command/TeamCommand;executeJoin(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Ljava/util/Collection;)I
 
- 
executeModifyNametagVisibilityprivate static int executeModifyNametagVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Lefe;Lefi$b;)I- intermediary - method_13732- Lnet/minecraft/class_3142;method_13732(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_270$class_272;)I- named - executeModifyNametagVisibility- Lnet/minecraft/server/command/TeamCommand;executeModifyNametagVisibility(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)I
 
- 
executeModifyDeathMessageVisibilityprivate static int executeModifyDeathMessageVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lagl;b(Lds;Lefe;Lefi$b;)I- intermediary - method_13735- Lnet/minecraft/class_3142;method_13735(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_270$class_272;)I- named - executeModifyDeathMessageVisibility- Lnet/minecraft/server/command/TeamCommand;executeModifyDeathMessageVisibility(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)I
 
- 
executeModifyCollisionRuleprivate static int executeModifyCollisionRule(ServerCommandSource source, Team team, AbstractTeam.CollisionRule collisionRule) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Lefe;Lefi$a;)I- intermediary - method_13713- Lnet/minecraft/class_3142;method_13713(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_270$class_271;)I- named - executeModifyCollisionRule- Lnet/minecraft/server/command/TeamCommand;executeModifyCollisionRule(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;)I
 
- 
executeModifySeeFriendlyInvisiblesprivate static int executeModifySeeFriendlyInvisibles(ServerCommandSource source, Team team, boolean allowed) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Lefe;Z)I- intermediary - method_13751- Lnet/minecraft/class_3142;method_13751(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Z)I- named - executeModifySeeFriendlyInvisibles- Lnet/minecraft/server/command/TeamCommand;executeModifySeeFriendlyInvisibles(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Z)I
 
- 
executeModifyFriendlyFireprivate static int executeModifyFriendlyFire(ServerCommandSource source, Team team, boolean allowed) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lagl;b(Lds;Lefe;Z)I- intermediary - method_13754- Lnet/minecraft/class_3142;method_13754(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Z)I- named - executeModifyFriendlyFire- Lnet/minecraft/server/command/TeamCommand;executeModifyFriendlyFire(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Z)I
 
- 
executeModifyDisplayNameprivate static int executeModifyDisplayName(ServerCommandSource source, Team team, Text displayName) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Lefe;Lsw;)I- intermediary - method_13711- Lnet/minecraft/class_3142;method_13711(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)I- named - executeModifyDisplayName- Lnet/minecraft/server/command/TeamCommand;executeModifyDisplayName(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)I
 
- 
executeModifyColorprivate static int executeModifyColor(ServerCommandSource source, Team team, Formatting color) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Lefe;Ln;)I- intermediary - method_13745- Lnet/minecraft/class_3142;method_13745(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_124;)I- named - executeModifyColor- Lnet/minecraft/server/command/TeamCommand;executeModifyColor(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/util/Formatting;)I
 
- 
executeEmptyprivate static int executeEmpty(ServerCommandSource source, Team team) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Lefe;)I- intermediary - method_13723- Lnet/minecraft/class_3142;method_13723(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)I- named - executeEmpty- Lnet/minecraft/server/command/TeamCommand;executeEmpty(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)I
 
- 
executeRemove- Mappings:
- Namespace - Name - Mixin selector - official - b- Lagl;b(Lds;Lefe;)I- intermediary - method_13747- Lnet/minecraft/class_3142;method_13747(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)I- named - executeRemove- Lnet/minecraft/server/command/TeamCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)I
 
- 
executeAddprivate static int executeAdd(ServerCommandSource source, String team) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Ljava/lang/String;)I- intermediary - method_13757- Lnet/minecraft/class_3142;method_13757(Lnet/minecraft/class_2168;Ljava/lang/String;)I- named - executeAdd- Lnet/minecraft/server/command/TeamCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
 
- 
executeAddprivate static int executeAdd(ServerCommandSource source, String team, Text displayName) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;Ljava/lang/String;Lsw;)I- intermediary - method_13715- Lnet/minecraft/class_3142;method_13715(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_2561;)I- named - executeAdd- Lnet/minecraft/server/command/TeamCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/text/Text;)I
 
- 
executeListMembers- Mappings:
- Namespace - Name - Mixin selector - official - c- Lagl;c(Lds;Lefe;)I- intermediary - method_13748- Lnet/minecraft/class_3142;method_13748(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)I- named - executeListMembers- Lnet/minecraft/server/command/TeamCommand;executeListMembers(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)I
 
- 
executeListTeams- Mappings:
- Namespace - Name - Mixin selector - official - a- Lagl;a(Lds;)I- intermediary - method_13728- Lnet/minecraft/class_3142;method_13728(Lnet/minecraft/class_2168;)I- named - executeListTeams- Lnet/minecraft/server/command/TeamCommand;executeListTeams(Lnet/minecraft/server/command/ServerCommandSource;)I
 
- 
executeModifyPrefix- Mappings:
- Namespace - Name - Mixin selector - official - b- Lagl;b(Lds;Lefe;Lsw;)I- intermediary - method_13743- Lnet/minecraft/class_3142;method_13743(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)I- named - executeModifyPrefix- Lnet/minecraft/server/command/TeamCommand;executeModifyPrefix(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)I
 
- 
executeModifySuffix- Mappings:
- Namespace - Name - Mixin selector - official - c- Lagl;c(Lds;Lefe;Lsw;)I- intermediary - method_13756- Lnet/minecraft/class_3142;method_13756(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)I- named - executeModifySuffix- Lnet/minecraft/server/command/TeamCommand;executeModifySuffix(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)I
 
 
-