Class TagCommand

java.lang.Object
net.minecraft.server.command.TagCommand

public class TagCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/TagCommand
intermediary net/minecraft/class_3140
official aor
  • Field Details

    • ADD_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named ADD_FAILED_EXCEPTION Lnet/minecraft/server/command/TagCommand;ADD_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13742 Lnet/minecraft/class_3140;field_13742:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official a Laor;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • REMOVE_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType REMOVE_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named REMOVE_FAILED_EXCEPTION Lnet/minecraft/server/command/TagCommand;REMOVE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13743 Lnet/minecraft/class_3140;field_13743:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official b Laor;b: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
      named register Lnet/minecraft/server/command/TagCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13698 Lnet/minecraft/class_3140;method_13698(Lcom/mojang/brigadier/CommandDispatcher;)V
      official a Laor;a(Lcom/mojang/brigadier/CommandDispatcher;)V
    • getTags

      private static Collection<String> getTags(Collection<? extends Entity> entities)
      Mappings:
      Namespace Name Mixin selector
      named getTags Lnet/minecraft/server/command/TagCommand;getTags(Ljava/util/Collection;)Ljava/util/Collection;
      intermediary method_13706 Lnet/minecraft/class_3140;method_13706(Ljava/util/Collection;)Ljava/util/Collection;
      official a Laor;a(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
      named executeAdd Lnet/minecraft/server/command/TagCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;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
      official a Laor;a(Let;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
      named executeRemove Lnet/minecraft/server/command/TagCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;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
      official b Laor;b(Let;Ljava/util/Collection;Ljava/lang/String;)I
    • executeList

      private static int executeList(ServerCommandSource source, Collection<? extends Entity> targets)
      Mappings:
      Namespace Name Mixin selector
      named executeList Lnet/minecraft/server/command/TagCommand;executeList(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
      intermediary method_13700 Lnet/minecraft/class_3140;method_13700(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
      official a Laor;a(Let;Ljava/util/Collection;)I