Package net.minecraft.server.command
Class TagCommand
java.lang.Object
net.minecraft.server.command.TagCommand
- Mappings:
Namespace Name official abq
intermediary net/minecraft/class_3140
named net/minecraft/server/command/TagCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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, Collection<? extends Entity> targets, String tag) private static int
executeList
(ServerCommandSource source, Collection<? extends Entity> targets) private static int
executeRemove
(ServerCommandSource source, Collection<? extends Entity> targets, String tag) private static Collection<String>
getTags
(Collection<? extends Entity> entities) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
ADD_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Labq;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13742
Lnet/minecraft/class_3140;field_13742:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named ADD_FAILED_EXCEPTION
Lnet/minecraft/server/command/TagCommand;ADD_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
REMOVE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType REMOVE_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Labq;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13743
Lnet/minecraft/class_3140;field_13743:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named REMOVE_FAILED_EXCEPTION
Lnet/minecraft/server/command/TagCommand;REMOVE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
TagCommand
public TagCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Labq;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13698
Lnet/minecraft/class_3140;method_13698(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/TagCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
getTags
- Mappings:
Namespace Name Mixin selector official a
Labq;a(Ljava/util/Collection;)Ljava/util/Collection;
intermediary method_13706
Lnet/minecraft/class_3140;method_13706(Ljava/util/Collection;)Ljava/util/Collection;
named getTags
Lnet/minecraft/server/command/TagCommand;getTags(Ljava/util/Collection;)Ljava/util/Collection;
-
executeAdd
private static int executeAdd(ServerCommandSource source, Collection<? extends Entity> targets, String tag) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Labq;a(Ldm;Ljava/util/Collection;Ljava/lang/String;)I
intermediary method_13702
Lnet/minecraft/class_3140;method_13702(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/lang/String;)I
named executeAdd
Lnet/minecraft/server/command/TagCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/lang/String;)I
-
executeRemove
private static int executeRemove(ServerCommandSource source, Collection<? extends Entity> targets, String tag) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official b
Labq;b(Ldm;Ljava/util/Collection;Ljava/lang/String;)I
intermediary method_13699
Lnet/minecraft/class_3140;method_13699(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/lang/String;)I
named executeRemove
Lnet/minecraft/server/command/TagCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/lang/String;)I
-
executeList
- Mappings:
Namespace Name Mixin selector official a
Labq;a(Ldm;Ljava/util/Collection;)I
intermediary method_13700
Lnet/minecraft/class_3140;method_13700(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
named executeList
Lnet/minecraft/server/command/TagCommand;executeList(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
-