15

Snapshots for 1.10 introduced teleport command feature for /execute. What is its difference to the current tp? I heard it has something to do with "relativity" (~)

3
  • As of 1.13, these commands now do the same thing.
    – pppery
    Aug 5, 2018 at 13:39
  • @ppperry Which one?
    – Manchineel
    Aug 8, 2018 at 9:29
  • @allex2003super Which what?
    – pppery
    Aug 8, 2018 at 13:51

1 Answer 1

15

Update:

As mentionned by ppperry in the comments, this answer is no longer valid I'm afraid.

Tp is now a simple alias of Teleport /tp is now an alias of /teleport (much like /w, /msg and /tell). /teleport has been simplified a bit, to avoid ambiguity. Source


Old Answer:

  • When running a /tp command and using relative coordinates, the coordinates are calculated from the entity focused by the command
  • When running a /teleport command, relatives coordinates are calculated from the entity who is executing the command

Source with exemple and screenshots (in french) : fr-minecraft.net/news-minecraft-1820

exemples :

/execute @e[name=Zomb2] ~ ~ ~ tp @e[name=Zomb1] ~ ~3 ~

will teleport the zombie "Zomb1" 3 blocks above the position of "Zomb2" (as it was Zomb2 that executed the command)

 /teleport @e[name=Zomb1] ~ ~3 ~

will teleport the zombie "Zomb1" 3 blocks above you

4
  • 1
    you're welcome, I just added concrete exemple
    – Pronox
    Jun 9, 2016 at 14:09
  • That's great man!
    – Manchineel
    Jun 9, 2016 at 14:09
  • So, /tp executes relative to the execution location, while /teleport executes relative to the affected entity's position?
    – Daniel G
    Aug 5, 2016 at 15:41
  • @DanielG the other way around
    – Manchineel
    Mar 29, 2018 at 10:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .