Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-205943

Errors in console with /tag command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.4, 20w46a, 1.18.1, 1.19.3, 23w04a, 23w05a, 23w06a, 1.20.2
    • Confirmed
    • Commands
    • Normal
    • Platform

      Writing any of these command in a command block or in the chat results in an error in the console

      /execute in minecraft:overworld run tag @a remove test
      /execute positioned ~ ~ ~ run tag @a remove test
      /execute facing ~ ~ ~ run tag @a remove test
      /execute anchored eyes run tag @a remove test
      Error executing task on Server
      java.lang.IllegalArgumentException: No such argument 'targets' exists on this command
      at com.mojang.brigadier.context.CommandContext.getArgument(CommandContext.java:85)
      	at dk.c(SourceFile:69)
      	at dk.b(SourceFile:61)
      	at yv.a(SourceFile:45)
      	at yv$$Lambda$4078/1339114893.getSuggestions(Unknown Source)
      	at com.mojang.brigadier.tree.ArgumentCommandNode.listSuggestions(ArgumentCommandNode.java:71)
      	at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:596)
      	at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:579)
      	at abg.a(SourceFile:486)
      	at sq.a(SourceFile:35)
      	at sq.a(SourceFile:9)
      	at ou.a(SourceFile:21)
      	at ou$$Lambda$4993/1387570813.run(Unknown Source)
      	at wj.run(SourceFile:18)
      	at aol.c(SourceFile:144)
      	at aop.c(SourceFile:23)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:760)
      	at net.minecraft.server.MinecraftServer.c(SourceFile:155)
      	at aol.y(SourceFile:118)
      	at net.minecraft.server.MinecraftServer.bd(SourceFile:742)
      	at net.minecraft.server.MinecraftServer.y(SourceFile:736)
      	at aol.c(SourceFile:127)
      	at net.minecraft.server.MinecraftServer.x(SourceFile:721)
      	at net.minecraft.server.MinecraftServer.w(SourceFile:673)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:257)
      	at net.minecraft.server.MinecraftServer$$Lambda$4426/253401363.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:745)

       
      But for example this command does not return any error :

      /execute as @a positioned ~ ~ ~ run tag @a remove test

        1. MC-205943.png
          43 kB
          [Mod] Avoma
        2. screenshot-1.png
          106 kB
          [Helper] Misode

            Unassigned Unassigned
            Daminator4113 Daminator4113
            Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: