类 TagCommand


  • public class TagCommand
    extends Object
    Mappings:
    Namespace Name
    official zr
    intermediary net/minecraft/class_3140
    named net/minecraft/server/command/TagCommand
    • 字段详细资料

      • ADD_FAILED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_FAILED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lzr;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 Lzr;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;
    • 构造器详细资料

      • TagCommand

        public TagCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lzr;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

        private static Collection<String> getTags​(Collection<? extends Entity> entities)
        Mappings:
        Namespace Name Mixin selector
        official a Lzr;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
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lzr;a(Ldg;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
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official b Lzr;b(Ldg;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

        private static int executeList​(ServerCommandSource source,
                                       Collection<? extends Entity> targets)
        Mappings:
        Namespace Name Mixin selector
        official a Lzr;a(Ldg;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