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

/tp overload without target doesn't allow rotation arguments anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.21.1, 24w38a
    • None
    • Community Consensus
    • (Unassigned)

      The bug

      The syntax for /tp is essentially /tp [<target>] <destination> [<rotation>], where the optional target parameter unusually comes before the required destination parameter. However, when rotation arguments are used, either with angles or facing, the target argument is required. Prior to 1.13, this was not the case, and all overloads of /tp existed with and without specifying target. Bedrock still has these overloads as well. They were lost in Java 1.13.

      How to reproduce

      1. Run /tp ~ ~ ~ 90 0

      Expected behavior
      You should face west

      Observed behavior
      Syntax error

            Unassigned Unassigned
            tryashtar [Mod] tryashtar
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: