类 TagCommand
- java.lang.Object
-
- net.minecraft.server.command.TagCommand
-
public class TagCommand extends Object
- Mappings:
Namespace Name official zrintermediary net/minecraft/class_3140named net/minecraft/server/command/TagCommand
-
-
字段概要
字段 修饰符和类型 字段 说明 private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeADD_FAILED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeREMOVE_FAILED_EXCEPTION
-
构造器概要
构造器 构造器 说明 TagCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private 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)
-
-
-
字段详细资料
-
ADD_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_FAILED_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLzr;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 bLzr;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;
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLzr;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
private static Collection<String> getTags(Collection<? extends Entity> entities)
- Mappings:
Namespace Name Mixin selector official aLzr;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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzr;a(Ldg;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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official bLzr;b(Ldg;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
private static int executeList(ServerCommandSource source, Collection<? extends Entity> targets)
- Mappings:
Namespace Name Mixin selector official aLzr;a(Ldg;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
-
-