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

Misleading error message when using local coordinates where they are not allowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 18w10c, Minecraft 1.13-pre5, Minecraft 18w45a, 20w07a, 21w17a, 1.18.1
    • None
    • Confirmed
    • Commands

      The bug

      When using the local prefix for transformation units (^) for coordinates / rotation where the command only expects world coordinates (absolute or ~), an error message is given, as it should, but the message is incorrect:

      Cannot mix world & local coordinates (everything must either use ^ or not)
      

      Affected argument types

      Last updated for 20w07a, Mojang names

      • ColumnPosArgument: minecraft:column_pos
      • Vec2Argument: minecraft:vec2
      • RotationArgument: minecraft:rotation

      Affected commands

      Can also be seen by inspecting the data created by the data generator.

      minecraft:column_pos

      • /forceload

      minecraft:vec2

      • /spreadplayers
      • /worldborder center

      minecraft:rotation

      • /execute rotated
      • /teleport: In theory, but does not produce error message maybe due to ambiguity

            Unassigned Unassigned
            energyxxer Energyxxer
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: