Package net.minecraft.server.command
Class TagCommand
java.lang.Object
net.minecraft.server.command.TagCommand
- Mappings:
Namespace Name official agkintermediary net/minecraft/class_3140named net/minecraft/server/command/TagCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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, Collection<? extends Entity> targets, String tag) private static intexecuteList(ServerCommandSource source, Collection<? extends Entity> targets) private static intexecuteRemove(ServerCommandSource source, Collection<? extends Entity> targets, String tag) private static Collection<String>getTags(Collection<? extends Entity> entities) static voidregister(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 aLagk;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13742Lnet/minecraft/class_3140;field_13742:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named ADD_FAILED_EXCEPTIONLnet/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 bLagk;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13743Lnet/minecraft/class_3140;field_13743:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named REMOVE_FAILED_EXCEPTIONLnet/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 aLagk;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13698Lnet/minecraft/class_3140;method_13698(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/TagCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
getTags
- Mappings:
Namespace Name Mixin selector official aLagk;a(Ljava/util/Collection;)Ljava/util/Collection;intermediary method_13706Lnet/minecraft/class_3140;method_13706(Ljava/util/Collection;)Ljava/util/Collection;named getTagsLnet/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 aLagk;a(Lds;Ljava/util/Collection;Ljava/lang/String;)Iintermediary method_13702Lnet/minecraft/class_3140;method_13702(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/lang/String;)Inamed executeAddLnet/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 bLagk;b(Lds;Ljava/util/Collection;Ljava/lang/String;)Iintermediary method_13699Lnet/minecraft/class_3140;method_13699(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/lang/String;)Inamed executeRemoveLnet/minecraft/server/command/TagCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/lang/String;)I
-
executeList
- Mappings:
Namespace Name Mixin selector official aLagk;a(Lds;Ljava/util/Collection;)Iintermediary method_13700Lnet/minecraft/class_3140;method_13700(Lnet/minecraft/class_2168;Ljava/util/Collection;)Inamed executeListLnet/minecraft/server/command/TagCommand;executeList(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
-