Skip to main content

/teleport

Teleports entities to a location, another entity, or adjusts their rotation. Full form of /tp with extended facing options.

Category
Player
Permission Level
Game Master
Version Added
1.13

Syntax

/teleport [<targets>] <destination>|<location> [<rotation>] [facing <facingLocation>] [facing entity <facingEntity> <facingAnchor>]

Parameters

NameTypeRequiredDescription
targetsentityOptionalThe entity or entities to teleport.
destinationentityRequiredTarget entity or coordinates to teleport to.
rotationrotationOptionalThe yaw and pitch.
facingLocationvec3OptionalCoordinates to face after teleporting (used with 'facing' keyword).
facingEntityentityOptionalAn entity to face after teleporting (used with 'facing entity' keywords).

Examples

/teleport @s 0 100 0 facing 0 64 0

Teleports you to 0,100,0 and rotates you to face coordinates 0,64,0.

/teleport @e[type=villager] ~ ~5 ~

Teleports all villagers 5 blocks upward.

/teleport @p @r

Teleports the nearest player to a random player.

Common Mistakes

Notes

In Java Edition, cross-dimension teleporting requires /execute in <dimension> run teleport. The facing keyword allows orienting the entity after teleporting.

Related Commands

Need a Minecraft server?

Try these commands on Astroworld or host your own server.

Try Astroworld Hosting