Commands/teleport

Teleports entities (players, mobs, etc.).

Although most commands can affect only chunks that have already been generated, can send entities into chunks that have yet to be generated. If this happens to a player, then the chunks around and including that player's destination are newly generated.

Syntax

 * Java Edition


 * Bedrock Edition

Arguments

 * Specifies the entity(s) to be teleported. If not specified, defaults to the command's executor.


 * Specifies the coordinates to teleport the target(s) to.


 * Specifies the entity to teleport the target(s) to.


 * and
 * Specifies the rotation.
 * Specifies the rotation.


 * Specifies the coordinates to make the target(s) facing to.


 * Specifies the entity to make the target(s) facing to.


 * Specifies whether the entity'eyes or feet to make the target(s) facing to. If not specified, defaults to eyes. $$, always facing eyes.
 * Specifies whether the entity'eyes or feet to make the target(s) facing to. If not specified, defaults to eyes. $$, always facing eyes.


 * If set to, teleports the target(s) only if the target(s) would not collide with a block it cannot be inside (Note: this allows teleporting into flowers as well as midair). If   or not specified, the default behavior applies (do no check; just teleport the target(s)).
 * If set to, teleports the target(s) only if the target(s) would not collide with a block it cannot be inside (Note: this allows teleporting into flowers as well as midair). If   or not specified, the default behavior applies (do no check; just teleport the target(s)).
 * If set to, teleports the target(s) only if the target(s) would not collide with a block it cannot be inside (Note: this allows teleporting into flowers as well as midair). If   or not specified, the default behavior applies (do no check; just teleport the target(s)).

Examples

 * To teleport yourself to Alice:


 * To teleport all players to yourself:


 * To teleport yourself to x=100 and z=100, but three blocks above your current position:


 * To rotate the nearest player 10 degrees to the right without changing their position:


 * ⇭⇭⇭⇭⇭, when used via the execute command, can teleport between the Overworld, the Nether and the End:
 * To teleport yourself to the same coordinates, but in the Nether:
 * To teleport all players to x=84 y=57 z=79 in the End:
 * To teleport Alice to x=251 y=64 z=-160 in the Overworld:

History
Befehl/teleport コマンド/teleport 命令/teleport