Class TagCommand

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

public class TagCommand extends Object
  • Field Details

    • ERROR_ADD_FAILED

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ADD_FAILED
    • ERROR_REMOVE_FAILED

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_REMOVE_FAILED
  • Constructor Details

    • TagCommand

      public TagCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138837_)
    • getTags

      private static Collection<String> getTags(Collection<? extends Entity> p_138853_)
    • addTag

      private static int addTag(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • removeTag

      private static int removeTag(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • listTags

      private static int listTags(CommandSourceStack p_138846_, Collection<? extends Entity> p_138847_)