Class TagCommand

java.lang.Object
net.minecraft.command.impl.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<CommandSource> p_198743_0_)
    • getTags

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

      private static int addTag(CommandSource p_198749_0_, Collection<? extends Entity> p_198749_1_, String p_198749_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • removeTag

      private static int removeTag(CommandSource p_198750_0_, Collection<? extends Entity> p_198750_1_, String p_198750_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • listTags

      private static int listTags(CommandSource p_198744_0_, Collection<? extends Entity> p_198744_1_)