Package net.minecraft.server.command
Class TeamCommand
java.lang.Object
net.minecraft.server.command.TeamCommand
- Mappings:
Namespace Name named net/minecraft/server/command/TeamCommand
intermediary net/minecraft/class_3142
official apg
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
executeAdd
(ServerCommandSource source, String team) private static int
executeAdd
(ServerCommandSource source, String team, Text displayName) private static int
executeEmpty
(ServerCommandSource source, Team team) private static int
executeJoin
(ServerCommandSource source, Team team, Collection<ScoreHolder> members) private static int
executeLeave
(ServerCommandSource source, Collection<ScoreHolder> members) private static int
executeListMembers
(ServerCommandSource source, Team team) private static int
executeListTeams
(ServerCommandSource source) private static int
executeModifyCollisionRule
(ServerCommandSource source, Team team, AbstractTeam.CollisionRule collisionRule) private static int
executeModifyColor
(ServerCommandSource source, Team team, Formatting color) private static int
executeModifyDeathMessageVisibility
(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static int
executeModifyDisplayName
(ServerCommandSource source, Team team, Text displayName) private static int
executeModifyFriendlyFire
(ServerCommandSource source, Team team, boolean allowed) private static int
executeModifyNametagVisibility
(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static int
executeModifyPrefix
(ServerCommandSource source, Team team, Text prefix) private static int
executeModifySeeFriendlyInvisibles
(ServerCommandSource source, Team team, boolean allowed) private static int
executeModifySuffix
(ServerCommandSource source, Team team, Text suffix) private static int
executeRemove
(ServerCommandSource source, Team team) private static Text
getMemberName
(Collection<ScoreHolder> members) static void
register
(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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;ADD_DUPLICATE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13749
Lnet/minecraft/class_3142;field_13749:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official a
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;EMPTY_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13751
Lnet/minecraft/class_3142;field_13751:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official b
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;OPTION_NAME_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13755
Lnet/minecraft/class_3142;field_13755:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official c
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;OPTION_COLOR_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13746
Lnet/minecraft/class_3142;field_13746:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official d
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;OPTION_FRIENDLY_FIRE_ALREADY_ENABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13753
Lnet/minecraft/class_3142;field_13753:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official e
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;OPTION_FRIENDLY_FIRE_ALREADY_DISABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13754
Lnet/minecraft/class_3142;field_13754:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official f
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_ENABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13747
Lnet/minecraft/class_3142;field_13747:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official g
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;OPTION_SEE_FRIENDLY_INVISIBLES_ALREADY_DISABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13756
Lnet/minecraft/class_3142;field_13756:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official h
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;OPTION_NAMETAG_VISIBILITY_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13752
Lnet/minecraft/class_3142;field_13752:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official i
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;OPTION_DEATH_MESSAGE_VISIBILITY_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13757
Lnet/minecraft/class_3142;field_13757:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official j
Lapg;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_EXCEPTION
Lnet/minecraft/server/command/TeamCommand;OPTION_COLLISION_RULE_UNCHANGED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13750
Lnet/minecraft/class_3142;field_13750:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official k
Lapg;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 register
Lnet/minecraft/server/command/TeamCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V
intermediary method_13736
Lnet/minecraft/class_3142;method_13736(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V
official a
Lapg;a(Lcom/mojang/brigadier/CommandDispatcher;Lel;)V
-
getMemberName
- Mappings:
Namespace Name Mixin selector named getMemberName
Lnet/minecraft/server/command/TeamCommand;getMemberName(Ljava/util/Collection;)Lnet/minecraft/text/Text;
intermediary method_55372
Lnet/minecraft/class_3142;method_55372(Ljava/util/Collection;)Lnet/minecraft/class_2561;
official a
Lapg;a(Ljava/util/Collection;)Lxp;
-
executeLeave
- Mappings:
Namespace Name Mixin selector named executeLeave
Lnet/minecraft/server/command/TeamCommand;executeLeave(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
intermediary method_13714
Lnet/minecraft/class_3142;method_13714(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
official a
Lapg;a(Lep;Ljava/util/Collection;)I
-
executeJoin
private static int executeJoin(ServerCommandSource source, Team team, Collection<ScoreHolder> members) - Mappings:
Namespace Name Mixin selector named executeJoin
Lnet/minecraft/server/command/TeamCommand;executeJoin(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;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
official a
Lapg;a(Lep;Lews;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 executeModifyNametagVisibility
Lnet/minecraft/server/command/TeamCommand;executeModifyNametagVisibility(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)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
official a
Lapg;a(Lep;Lews;Lewz$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 executeModifyDeathMessageVisibility
Lnet/minecraft/server/command/TeamCommand;executeModifyDeathMessageVisibility(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)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
official b
Lapg;b(Lep;Lews;Lewz$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 executeModifyCollisionRule
Lnet/minecraft/server/command/TeamCommand;executeModifyCollisionRule(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;)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
official a
Lapg;a(Lep;Lews;Lewz$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 executeModifySeeFriendlyInvisibles
Lnet/minecraft/server/command/TeamCommand;executeModifySeeFriendlyInvisibles(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Z)I
intermediary method_13751
Lnet/minecraft/class_3142;method_13751(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Z)I
official a
Lapg;a(Lep;Lews;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 executeModifyFriendlyFire
Lnet/minecraft/server/command/TeamCommand;executeModifyFriendlyFire(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Z)I
intermediary method_13754
Lnet/minecraft/class_3142;method_13754(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Z)I
official b
Lapg;b(Lep;Lews;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 executeModifyDisplayName
Lnet/minecraft/server/command/TeamCommand;executeModifyDisplayName(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)I
intermediary method_13711
Lnet/minecraft/class_3142;method_13711(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)I
official a
Lapg;a(Lep;Lews;Lxp;)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 executeModifyColor
Lnet/minecraft/server/command/TeamCommand;executeModifyColor(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/util/Formatting;)I
intermediary method_13745
Lnet/minecraft/class_3142;method_13745(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_124;)I
official a
Lapg;a(Lep;Lews;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 executeEmpty
Lnet/minecraft/server/command/TeamCommand;executeEmpty(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)I
intermediary method_13723
Lnet/minecraft/class_3142;method_13723(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)I
official a
Lapg;a(Lep;Lews;)I
-
executeRemove
- Mappings:
Namespace Name Mixin selector named executeRemove
Lnet/minecraft/server/command/TeamCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)I
intermediary method_13747
Lnet/minecraft/class_3142;method_13747(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)I
official b
Lapg;b(Lep;Lews;)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 executeAdd
Lnet/minecraft/server/command/TeamCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
intermediary method_13757
Lnet/minecraft/class_3142;method_13757(Lnet/minecraft/class_2168;Ljava/lang/String;)I
official a
Lapg;a(Lep;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 executeAdd
Lnet/minecraft/server/command/TeamCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/text/Text;)I
intermediary method_13715
Lnet/minecraft/class_3142;method_13715(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_2561;)I
official a
Lapg;a(Lep;Ljava/lang/String;Lxp;)I
-
executeListMembers
- Mappings:
Namespace Name Mixin selector named executeListMembers
Lnet/minecraft/server/command/TeamCommand;executeListMembers(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;)I
intermediary method_13748
Lnet/minecraft/class_3142;method_13748(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;)I
official c
Lapg;c(Lep;Lews;)I
-
executeListTeams
- Mappings:
Namespace Name Mixin selector named executeListTeams
Lnet/minecraft/server/command/TeamCommand;executeListTeams(Lnet/minecraft/server/command/ServerCommandSource;)I
intermediary method_13728
Lnet/minecraft/class_3142;method_13728(Lnet/minecraft/class_2168;)I
official a
Lapg;a(Lep;)I
-
executeModifyPrefix
- Mappings:
Namespace Name Mixin selector named executeModifyPrefix
Lnet/minecraft/server/command/TeamCommand;executeModifyPrefix(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)I
intermediary method_13743
Lnet/minecraft/class_3142;method_13743(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)I
official b
Lapg;b(Lep;Lews;Lxp;)I
-
executeModifySuffix
- Mappings:
Namespace Name Mixin selector named executeModifySuffix
Lnet/minecraft/server/command/TeamCommand;executeModifySuffix(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/Team;Lnet/minecraft/text/Text;)I
intermediary method_13756
Lnet/minecraft/class_3142;method_13756(Lnet/minecraft/class_2168;Lnet/minecraft/class_268;Lnet/minecraft/class_2561;)I
official c
Lapg;c(Lep;Lews;Lxp;)I
-