Package net.minecraft.server.command
Class TeamCommand
java.lang.Object
net.minecraft.server.command.TeamCommand
- Mappings:
Namespace Name named net/minecraft/server/command/TeamCommandintermediary net/minecraft/class_3142official aos
-
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 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<ScoreHolder> members) private static intexecuteLeave(ServerCommandSource source, Collection<ScoreHolder> 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) private static TextgetMemberName(Collection<ScoreHolder> members) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
-
Field Details
-
ADD_DUPLICATE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_DUPLICATE_EXCEPTION- Mappings:
Namespace Name Mixin selector named ADD_DUPLICATE_EXCEPTIONLnet/minecraft/server/command/TeamCommand;ADD_DUPLICATE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13749Lnet/minecraft/class_3142;field_13749:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official aLaos;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
EMPTY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EMPTY_UNCHANGED_EXCEPTION- Mappings:
Namespace Name Mixin selector named EMPTY_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;EMPTY_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13751Lnet/minecraft/class_3142;field_13751:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official bLaos;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OPTION_NAME_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_NAME_UNCHANGED_EXCEPTION- Mappings:
Namespace Name Mixin selector named OPTION_NAME_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_NAME_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13755Lnet/minecraft/class_3142;field_13755:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official cLaos;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OPTION_COLOR_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_COLOR_UNCHANGED_EXCEPTION- Mappings:
Namespace Name Mixin selector named OPTION_COLOR_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_COLOR_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13746Lnet/minecraft/class_3142;field_13746:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official dLaos;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION- Mappings:
Namespace Name Mixin selector named OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13753Lnet/minecraft/class_3142;field_13753:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official eLaos;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION- Mappings:
Namespace Name Mixin selector named OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13754Lnet/minecraft/class_3142;field_13754:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official fLaos;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION- Mappings:
Namespace Name Mixin selector named OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13747Lnet/minecraft/class_3142;field_13747:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official gLaos;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION- Mappings:
Namespace Name Mixin selector named OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13756Lnet/minecraft/class_3142;field_13756:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official hLaos;h:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION- Mappings:
Namespace Name Mixin selector named OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13752Lnet/minecraft/class_3142;field_13752:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official iLaos;i:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION- Mappings:
Namespace Name Mixin selector named OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13757Lnet/minecraft/class_3142;field_13757:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official jLaos;j:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION- Mappings:
Namespace Name Mixin selector named OPTION_COLLISION_RULE_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13750Lnet/minecraft/class_3142;field_13750:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official kLaos;k:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
TeamCommand
public TeamCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) - Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/TeamCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)Vintermediary method_13736Lnet/minecraft/class_3142;method_13736(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)Vofficial aLaos;a(Lcom/mojang/brigadier/CommandDispatcher;Lep;)V
-
getMemberName
- Mappings:
Namespace Name Mixin selector named getMemberNameLnet/minecraft/server/command/TeamCommand;getMemberName(Ljava/util/Collection;)Lnet/minecraft/text/Text;intermediary method_55372Lnet/minecraft/class_3142;method_55372(Ljava/util/Collection;)Lnet/minecraft/class_2561;official aLaos;a(Ljava/util/Collection;)Lwz;
-
executeLeave
- Mappings:
Namespace Name Mixin selector named executeLeaveLnet/minecraft/server/command/TeamCommand;executeLeave(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)Iintermediary method_13714Lnet/minecraft/class_3142;method_13714(Lnet/minecraft/class_2168;Ljava/util/Collection;)Iofficial aLaos;a(Let;Ljava/util/Collection;)I
-
executeJoin
private static int executeJoin(ServerCommandSource source, Team team, Collection<ScoreHolder> members) - Mappings:
Namespace Name Mixin selector named executeJoinLnet/minecraft/server/command/TeamCommand;executeJoin(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Ljava/util/Collection;)Iintermediary method_13720Lnet/minecraft/class_3142;method_13720(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Ljava/util/Collection;)Iofficial aLaos;a(Let;Leyb;Ljava/util/Collection;)I
-
executeModifyNametagVisibility
private 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 named executeModifyNametagVisibilityLnet/minecraft/server/command/TeamCommand;executeModifyNametagVisibility(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)Iintermediary method_13732Lnet/minecraft/class_3142;method_13732(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_270$class_272;)Iofficial aLaos;a(Let;Leyb;Leyi$b;)I
-
executeModifyDeathMessageVisibility
private 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 named executeModifyDeathMessageVisibilityLnet/minecraft/server/command/TeamCommand;executeModifyDeathMessageVisibility(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)Iintermediary method_13735Lnet/minecraft/class_3142;method_13735(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_270$class_272;)Iofficial bLaos;b(Let;Leyb;Leyi$b;)I
-
executeModifyCollisionRule
private 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 named executeModifyCollisionRuleLnet/minecraft/server/command/TeamCommand;executeModifyCollisionRule(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;)Iintermediary method_13713Lnet/minecraft/class_3142;method_13713(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_270$class_271;)Iofficial aLaos;a(Let;Leyb;Leyi$a;)I
-
executeModifySeeFriendlyInvisibles
private 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 named executeModifySeeFriendlyInvisiblesLnet/minecraft/server/command/TeamCommand;executeModifySeeFriendlyInvisibles(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Z)Iintermediary method_13751Lnet/minecraft/class_3142;method_13751(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Z)Iofficial aLaos;a(Let;Leyb;Z)I
-
executeModifyFriendlyFire
private 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 named executeModifyFriendlyFireLnet/minecraft/server/command/TeamCommand;executeModifyFriendlyFire(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Z)Iintermediary method_13754Lnet/minecraft/class_3142;method_13754(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Z)Iofficial bLaos;b(Let;Leyb;Z)I
-
executeModifyDisplayName
private 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 named executeModifyDisplayNameLnet/minecraft/server/command/TeamCommand;executeModifyDisplayName(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)Iintermediary method_13711Lnet/minecraft/class_3142;method_13711(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)Iofficial aLaos;a(Let;Leyb;Lwz;)I
-
executeModifyColor
private 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 named executeModifyColorLnet/minecraft/server/command/TeamCommand;executeModifyColor(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/util/Formatting;)Iintermediary method_13745Lnet/minecraft/class_3142;method_13745(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_124;)Iofficial aLaos;a(Let;Leyb;Ln;)I
-
executeEmpty
private static int executeEmpty(ServerCommandSource source, Team team) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executeEmptyLnet/minecraft/server/command/TeamCommand;executeEmpty(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)Iintermediary method_13723Lnet/minecraft/class_3142;method_13723(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)Iofficial aLaos;a(Let;Leyb;)I
-
executeRemove
- Mappings:
Namespace Name Mixin selector named executeRemoveLnet/minecraft/server/command/TeamCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)Iintermediary method_13747Lnet/minecraft/class_3142;method_13747(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)Iofficial bLaos;b(Let;Leyb;)I
-
executeAdd
private static int executeAdd(ServerCommandSource source, String team) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executeAddLnet/minecraft/server/command/TeamCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)Iintermediary method_13757Lnet/minecraft/class_3142;method_13757(Lnet/minecraft/class_2168;Ljava/lang/String;)Iofficial aLaos;a(Let;Ljava/lang/String;)I
-
executeAdd
private 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 named executeAddLnet/minecraft/server/command/TeamCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/text/Text;)Iintermediary method_13715Lnet/minecraft/class_3142;method_13715(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_2561;)Iofficial aLaos;a(Let;Ljava/lang/String;Lwz;)I
-
executeListMembers
- Mappings:
Namespace Name Mixin selector named executeListMembersLnet/minecraft/server/command/TeamCommand;executeListMembers(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)Iintermediary method_13748Lnet/minecraft/class_3142;method_13748(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)Iofficial cLaos;c(Let;Leyb;)I
-
executeListTeams
- Mappings:
Namespace Name Mixin selector named executeListTeamsLnet/minecraft/server/command/TeamCommand;executeListTeams(Lnet/minecraft/server/command/ServerCommandSource;)Iintermediary method_13728Lnet/minecraft/class_3142;method_13728(Lnet/minecraft/class_2168;)Iofficial aLaos;a(Let;)I
-
executeModifyPrefix
- Mappings:
Namespace Name Mixin selector named executeModifyPrefixLnet/minecraft/server/command/TeamCommand;executeModifyPrefix(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)Iintermediary method_13743Lnet/minecraft/class_3142;method_13743(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)Iofficial bLaos;b(Let;Leyb;Lwz;)I
-
executeModifySuffix
- Mappings:
Namespace Name Mixin selector named executeModifySuffixLnet/minecraft/server/command/TeamCommand;executeModifySuffix(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)Iintermediary method_13756Lnet/minecraft/class_3142;method_13756(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)Iofficial cLaos;c(Let;Leyb;Lwz;)I
-