Class TagCommand

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

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

    • ADD_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Lagw;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 Lagw;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 Lagw;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 Lagw;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 Lagw;a(Ldr;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 Lagw;b(Ldr;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 Lagw;a(Ldr;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