How to Teleport in Minecraft
While console commands in Minecraft are technically cheating through the game, they can be handy for creative endeavors and team gameplay. The teleport command is one of the most versatile console options, allowing players to move entities across the map in moments.
This article will explain how to enable cheats and use the teleport command in Minecraft on all available versions, including PCs, consoles, and mobile devices.
The teleport console command was introduced to the game in 2016 and has been a mainstay for creative team players ever since. It is a vital tool that allows you or other players on the server to transport any entity, whether player or mob, to different locations across the map.
The Teleport Command in Minecraft
The basic teleport command takes the form of “
/tp <destination>”. You can use “
/tp” and “
/teleport” interchangeably since they refer to the same command.
The basic form of the command (
“/tp <destination>”) requires either an entity or a location as the target and will teleport the player executing the command to that location or entity. Players have plenty of freedom when choosing the teleport syntax.
List of Teleport Commands in Minecraft
The teleport command can take many forms, but here are some of the most common and useful ones:
/tp <location x y z>
The destination is composed of three coordinates (using the x, y, and z axes). Enter the desired coordinates in place of the “x y z”. For example, “/tp 100 50 100” will move the player to a block that is at the coordinates x=100, z=100, and has a height of 50.
Players can also use references to their current position. A command “
/tp 50 ~4 50” will move the player to the block that has x=50, z=50, and that is four blocks above their current location.
When used this way, a player will teleport to the target entity. You can use a player’s name, a specific entity name, or the target’s UUID, or a unique identifier.
/tp <target> <destination/location>
The teleport command doesn’t have to be used on yourself. You can also move other players and entities. For example, “
/tp John 100 60 100” will teleport the player named John (if he is online on the server) to the coordinates (100, 60, 100). You can also use a target selector to teleport a specific type of entity. The command “/tp @a @s” will move all players to the player executing the command.
Rotation: /tp [<target>] <destination/location> <yRot> <xRot>
Each of the above commands can also have an optional argument for rotating the target towards a specific location. When used, the command needs two additional numbers. The yaw (referred to as yRot) goes between -180 and 180 and describes which side of the world the entity will face after rotation (-180 faces north, -90 east, 0 faces the south, 90 faces the west, and 180 wraps back to the north). The pitch (xRot) shows how the target will face up or down (-90 for straight up, all the way to 90 for straight down). You can use a reference marker (~) to use the target’s current yaw and pitch and add or subtract from it.
For example: “
/tp Steve 151 60 134 -90 0” will teleport the player named Steve to the coordinates (151, 60, 134) then rotate him to face east and look straight ahead.
Players can also substitute the rotation at the end of the command with a set of coordinates or an entity the target will be facing after the teleport completes. For example, “
/tp Steve 100 50 100 facing John” will teleport the player named Steve to coordinates (100, 50, 100) then rotate him to face John.
You can use a set of coordinates (x, y, z, in plain text), player names, or UUIDs for the rotation target.
Checking for Blocks
In the Bedrock Edition (Windows 10, Xbox, PlayStation, PE, and Switch), the player can put “true” after all command arguments to check whether the resulting location interferes with an existing block. If there is a block at the destination, the teleport won’t happen. If the player puts “false” or doesn’t specify, the check won’t happen, and the command will teleport the target(s) anyway.
The complete command for a teleport when using the facing option becomes:
teleport <target> <location/destination> facing <entity/location> [checkForBlocks: Boolean]
The Execute Command in JE
Players can use the “execute” command in the Java Edition of the game to move targets between the Overworld, the Nether, and the End. This is done by putting “in minecraft:(overworld, the_nether, the_end)” as an argument for the teleport. However, the syntax for the execute command is a bit different:
execute [<as target>] [<in minecraft:(overworld, nether, the_end)>] run teleport <destination> [rotation] [facing <location/target]
For example, using “execute as Steve in minecraft:overworld run teleport 100 50 100 facing John” will teleport Steve to the Overworld coordinates (100, 50, 100) and rotate him to face John.
You can also use this to instantly move to the same coordinates in a different world. For example “
execute in minecraft:the_nether run teleport ~ ~ ~” will teleport you to the same coordinates, but in the Nether as opposed to your current world.
Teleporting in Minecraft on Desktop
When using the desktop version of Minecraft, players are limited to the Java and Bedrock Editions of the game (previously known as Windows 10 Edition). There are no functional differences between how to execute the command in the game. However, players will need to enable cheats to use the command console.
Here’s how to enable cheats on an ongoing world in Java Edition:
- Open the game menu (press “Esc”).
- Select “Switch to LAN.” You can use this option even if you’re on an offline server.
- Select “Enable Cheats.”
If you’re using the Bedrock Edition:
- Open the game menu.
- Flip the switch reading “Enable Cheats” to make it blue (active).
Players can also choose to enable cheats when creating their world. For the Java version, follow these steps:
- Choose the “New World” option.
- Select “More World Options” from the menu.
- Click on “Allow Cheats” to make it read “Allow Cheats: ON.”
- Click through the prompt warning you that you can’t earn achievements and proceed with the rest of the world creation.
When using the Bedrock Edition, the “Enable Cheats” switch will be located on the right-hand side of the world creation menu. Flip it to activate cheats and console commands for the world.
Once you’ve enabled cheats in the current world instance, running the command is simple. You can press “T” to open a chat window or press “/” to open the chat window and immediately have the first character of the command put in for you.
Once you’ve input the command, press “Enter” to run it. In some cases, the game will show an error if one of the arguments is incorrect, incomplete, or the command can’t run. If the command succeeds, it will display the message in the chat window saying “
Teleported <target> to <coordinates>”.
For example, typing “
/tp 245 50 234” immediately from the game and pressing “Enter” will move you to the location with the coordinates (245, 50, 234) in your current dimension.
Teleporting in Minecraft on Consoles
Console players also tend to use the most advanced version of the Bedrock Edition of the game, and older versions are no longer updated. The teleport command on the consoles will work the same way as on the Desktop. To start using the command, you need to enable cheats.
Here’s how to enable cheats on the consoles:
- Open the game menu.
- Flip the “Enable Cheats” switch if it’s greyed out. If it’s blue, the cheats are already enabled.
If you’re creating a new world, the “Enable Cheats” switch is available directly on the world creation menu.
Once you’ve enabled cheats, you can open the chat by pressing the “D-pad right” key on your controller (PS/Xbox) or press the right arrow button (Switch).
Running the command is pretty straightforward. Use the virtual keyboard in the chat to input the command parameters, then press on “Enter” to execute it.
If the teleport command succeeds, you’ll see a confirmation message in the chat.
Teleporting in Minecraft on iPhone or Android
Players on mobile devices (iOS and Android) also use the Bedrock Edition of the game.
To use the teleport command, you need to enable cheats. You can do so by accessing the game menu and select the “Enable Cheats” switch without leaving the current world.
Once cheats are enabled, open the chat button (a message icon) and input the teleport command you wish to use. Tap on “Enter” to execute the command.
If you’ve used the right command, you’ll see a confirmation message in the chat window.
Most Common Examples
/tp @a @s” – teleports every player to you.
/tp @p @s” – teleports the nearest player to you.
/tp ~ 63 ~” – moves you to sea level.
/tp @e[type=slime] @s” – teleports all slimes to your location.
execute in minecraft:the_nether run teleport ~ ~ ~” – moves you to the same location in the Nether when using the Java Edition.
How Coordinates Work in Minecraft?
Minecraft uses a numerical coordinate representation for world location. World coordinates are expressed as three real numbers (typically integers for ease of use), with each number representing an axis:
· The X-axis (latitude) moves from west to east. Negative numbers are used for the points west of the coordinate zero.
· The Z axis (longitude) moves from north to south, with negative numbers showing northern positions.
· The Y axis (elevation) indicates how high or low the player is. The Y coordinates have values ranging from 0 to 255, with 63 being the sea level.
· The unit length of each of these axes is equal to the side of a block. For example, the block with coordinates (100, 41, 100) is directly on top of a block with coordinates (100, 40, 100).
· Each block has its coordinates rounded down to display its lower northwest corner.
An entity or a player’s coordinate is actually the center of the bottom of their collision box. For example, if you’re standing at sea level, your Y coordinate is 63, but your eyes are approximately at Y=64.62.
Players can display their current coordinates in the chat by pressing F3 (Fn + F3 on Macs, or Alt + Fn + F3 on newer Macs) for the Java Edition. Players on the Bedrock Edition can enable the coordinate display in the menu by activating the “Show Coordinates” setting.
You can refer to coordinates either directly or by referencing a location. This is achieved by using a ~ and an offset (called a tilde notation). For example, “~10 ~10 ~10” indicates a coordinate that is 10 blocks east, 10 blocks south, and 10 blocks higher than the player’s current location. You can combine absolute and relative coordinates. Using the command “
/tp ~ 63 ~” will move the player to the exact coordinates they currently have, only at sea level.
Users can also use the caret notation (^) to reference their current position and facing direction. When used this way, the teleport command will move the player according to where they are and the direction they’re facing. The teleport command becomes “
/tp ^X ^Y ^Z” where X is the offset to the left, Y is the offset directed upwards, and Z is the offset forward. For example, “
/tp ^ ^ ^10” will teleport the player 10 blocks ahead. If they turn around and execute the same command, they’ll end up in the original location.
The caret notation cannot be mixed with absolute or relative coordinates (everything must use ^ or nothing can).
Go Where No One Has Teleported Before
Now you know how to use the teleport command in Minecraft. Use this creative power wisely and you can achieve great things.
What will you use the teleport command for? Let us know in the comment section below.