Package net.minecraft.server.command
Class TeamCommand
java.lang.Object
net.minecraft.server.command.TeamCommand
public class TeamCommand extends Object
- Mappings:
Namespace Name official zeintermediary net/minecraft/class_3142named net/minecraft/server/command/TeamCommand
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeADD_DUPLICATE_EXCEPTIONprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeADD_LONG_NAME_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeEMPTY_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOPTION_COLLISION_RULE_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOPTION_COLOR_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOPTION_NAME_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION -
Constructor Summary
Constructors Constructor Description TeamCommand() -
Method Summary
-
Field Details
-
ADD_DUPLICATE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_DUPLICATE_EXCEPTION- Mappings:
Namespace Name Mixin selector official aLze;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13749Lnet/minecraft/class_3142;field_13749:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named ADD_DUPLICATE_EXCEPTIONLnet/minecraft/server/command/TeamCommand;ADD_DUPLICATE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
ADD_LONG_NAME_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ADD_LONG_NAME_EXCEPTION- Mappings:
Namespace Name Mixin selector official bLze;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_13748Lnet/minecraft/class_3142;field_13748:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;named ADD_LONG_NAME_EXCEPTIONLnet/minecraft/server/command/TeamCommand;ADD_LONG_NAME_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
EMPTY_UNCHANGED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EMPTY_UNCHANGED_EXCEPTION- Mappings:
Namespace Name Mixin selector official cLze;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13751Lnet/minecraft/class_3142;field_13751:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named EMPTY_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;EMPTY_UNCHANGED_EXCEPTION: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 official dLze;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13755Lnet/minecraft/class_3142;field_13755:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OPTION_NAME_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_NAME_UNCHANGED_EXCEPTION: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 official eLze;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13746Lnet/minecraft/class_3142;field_13746:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OPTION_COLOR_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_COLOR_UNCHANGED_EXCEPTION: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 official fLze;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13753Lnet/minecraft/class_3142;field_13753:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION: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 official gLze;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13754Lnet/minecraft/class_3142;field_13754:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION: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 official hLze;h:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13747Lnet/minecraft/class_3142;field_13747:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION: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 official iLze;i:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13756Lnet/minecraft/class_3142;field_13756:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION: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 official jLze;j:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13752Lnet/minecraft/class_3142;field_13752:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION: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 official kLze;k:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13757Lnet/minecraft/class_3142;field_13757:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION: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 official lLze;l:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13750Lnet/minecraft/class_3142;field_13750:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OPTION_COLLISION_RULE_UNCHANGED_EXCEPTIONLnet/minecraft/server/command/TeamCommand;OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
TeamCommand
public TeamCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official aLze;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13736Lnet/minecraft/class_3142;method_13736(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/TeamCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeLeave
- Mappings:
Namespace Name Mixin selector official aLze;a(Ldb;Ljava/util/Collection;)Iintermediary method_13714Lnet/minecraft/class_3142;method_13714(Lnet/minecraft/class_2168;Ljava/util/Collection;)Inamed executeLeaveLnet/minecraft/server/command/TeamCommand;executeLeave(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
-
executeJoin
- Mappings:
Namespace Name Mixin selector official aLze;a(Ldb;Ldjq;Ljava/util/Collection;)Iintermediary method_13720Lnet/minecraft/class_3142;method_13720(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Ljava/util/Collection;)Inamed executeJoinLnet/minecraft/server/command/TeamCommand;executeJoin(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;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 official aLze;a(Ldb;Ldjq;Ldju$b;)Iintermediary method_13732Lnet/minecraft/class_3142;method_13732(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_270$class_272;)Inamed executeModifyNametagVisibilityLnet/minecraft/server/command/TeamCommand;executeModifyNametagVisibility(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)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 official bLze;b(Ldb;Ldjq;Ldju$b;)Iintermediary method_13735Lnet/minecraft/class_3142;method_13735(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_270$class_272;)Inamed executeModifyDeathMessageVisibilityLnet/minecraft/server/command/TeamCommand;executeModifyDeathMessageVisibility(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)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 official aLze;a(Ldb;Ldjq;Ldju$a;)Iintermediary method_13713Lnet/minecraft/class_3142;method_13713(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_270$class_271;)Inamed executeModifyCollisionRuleLnet/minecraft/server/command/TeamCommand;executeModifyCollisionRule(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;)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 official aLze;a(Ldb;Ldjq;Z)Iintermediary method_13751Lnet/minecraft/class_3142;method_13751(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Z)Inamed executeModifySeeFriendlyInvisiblesLnet/minecraft/server/command/TeamCommand;executeModifySeeFriendlyInvisibles(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;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 official bLze;b(Ldb;Ldjq;Z)Iintermediary method_13754Lnet/minecraft/class_3142;method_13754(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Z)Inamed executeModifyFriendlyFireLnet/minecraft/server/command/TeamCommand;executeModifyFriendlyFire(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;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 official aLze;a(Ldb;Ldjq;Loi;)Iintermediary method_13711Lnet/minecraft/class_3142;method_13711(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)Inamed executeModifyDisplayNameLnet/minecraft/server/command/TeamCommand;executeModifyDisplayName(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)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 official aLze;a(Ldb;Ldjq;Lk;)Iintermediary method_13745Lnet/minecraft/class_3142;method_13745(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_124;)Inamed executeModifyColorLnet/minecraft/server/command/TeamCommand;executeModifyColor(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/util/Formatting;)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 official aLze;a(Ldb;Ldjq;)Iintermediary method_13723Lnet/minecraft/class_3142;method_13723(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)Inamed executeEmptyLnet/minecraft/server/command/TeamCommand;executeEmpty(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)I
-
executeRemove
- Mappings:
Namespace Name Mixin selector official bLze;b(Ldb;Ldjq;)Iintermediary method_13747Lnet/minecraft/class_3142;method_13747(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)Inamed executeRemoveLnet/minecraft/server/command/TeamCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)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 official aLze;a(Ldb;Ljava/lang/String;)Iintermediary method_13757Lnet/minecraft/class_3142;method_13757(Lnet/minecraft/class_2168;Ljava/lang/String;)Inamed executeAddLnet/minecraft/server/command/TeamCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;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 official aLze;a(Ldb;Ljava/lang/String;Loi;)Iintermediary method_13715Lnet/minecraft/class_3142;method_13715(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_2561;)Inamed executeAddLnet/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 cLze;c(Ldb;Ldjq;)Iintermediary method_13748Lnet/minecraft/class_3142;method_13748(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)Inamed executeListMembersLnet/minecraft/server/command/TeamCommand;executeListMembers(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)I
-
executeListTeams
- Mappings:
Namespace Name Mixin selector official aLze;a(Ldb;)Iintermediary method_13728Lnet/minecraft/class_3142;method_13728(Lnet/minecraft/class_2168;)Inamed executeListTeamsLnet/minecraft/server/command/TeamCommand;executeListTeams(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeModifyPrefix
- Mappings:
Namespace Name Mixin selector official bLze;b(Ldb;Ldjq;Loi;)Iintermediary method_13743Lnet/minecraft/class_3142;method_13743(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)Inamed executeModifyPrefixLnet/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 cLze;c(Ldb;Ldjq;Loi;)Iintermediary method_13756Lnet/minecraft/class_3142;method_13756(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)Inamed executeModifySuffixLnet/minecraft/server/command/TeamCommand;executeModifySuffix(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)I
-