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

Teleporting an entity with relative position isn't working correctly.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 16w21b
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed

      Description

      Description: When you have a command block teleport an entity using relative position it will teleport the entity to the command block and not the correct relative position.

      Reproduction steps.
      1. Put the following commands into two command blocks that are 1 or 2 blocks apart.
      summon MinecartRideable ~ ~1 ~

      {CustomName:F1,NoGravity:1}

      tp @e[name=F1] ~ ~2 ~

      2. Summon the Minecart with the command block and make note of the location
      3. Activate the command block to teleport the Minecart and make note of where it teleported to.
      4. Keep activating the teleport command block to see if the position changes.

      Expected results: The minecart should have teleported 2 blocks up from it's current position.

      Actual Results: The minecart teleport to be above the second command block and would not teleport higher if you keep activating the teleport command block.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                zackatack108 Zackery Anderson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: