mojira.dev
MC-126913

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

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

Attachments

Comments 1

I rewrote the report, added more commands, but also removed some sections. I hope this is alright for you.

energyxxer

(Unassigned)

Confirmed

Commands

Minecraft 18w10c, Minecraft 1.13-pre5, Minecraft 18w45a, 20w07a, 21w17a, 1.18.1, 1.21.5

Retrieved