Package net.minecraft.server.command
Class TagCommand
java.lang.Object
net.minecraft.server.command.TagCommand
public class TagCommand extends Object
- Mappings:
Namespace Name official zd
intermediary net/minecraft/class_3140
named net/minecraft/server/command/TagCommand
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ADD_FAILED_EXCEPTION
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
REMOVE_FAILED_EXCEPTION
-
Constructor Summary
Constructors Constructor Description TagCommand()
-
Method Summary
Modifier and Type Method Description private 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
Lzd;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
Lzd;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
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official a
Lzd;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
Lzd;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
Lzd;a(Ldb;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
Lzd;b(Ldb;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
Lzd;a(Ldb;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
-