Try the Commands Troubleshooting and Help page if you get stuff with server errors.
Teleport Command Maker Tool
Use our command generator to easily create a 'teleport' command for either the Bedrock or Java edition of Minecraft. You can specify a target selector, set rotation, face coordinates, or face an entity of your choice. Just make sure to select the version of the game that you are using, as the command syntax is different for each edition. In the Bedrock edition, you can also include the 'checkForBlocks true/false' as part of the command.
Teleport and setting look direction
The teleport command has the ability to make the player look in a specific direction.
By setting the yaw and pitch values, you can control the direction the player is facing and the angle at
which they are looking. For example, the following command makes the player look west and slightly upward:
/teleport @a ~ ~10 ~ 90 60
You can use the 'facing' argument in the teleport command to make the player look at a specific set of coordinates.
The command will automatically adjust the yaw and pitch values to point the player in the direction of the coordinates. For example:
/teleport @a ~ ~10 ~ facing 10 65 10
The teleport command with the 'facing entity' argument allows you to make the player look at a specific entity, as defined
with the target syntax. It is important to remember to include the 'limit=1' parameter in the selector, as the player can
only look at one entity at a time. For this generator, the limit has been set to 1 by default to ensure that it is always included.
This feature is available in both the Java and Bedrock editions of Minecraft.
/teleport @a ~ ~1 ~ facing entity @e[type=chicken,limit=1]
Teleport and changing dimension
The teleport command cannot directly transport players between dimensions. To achieve this, the execute command must be used. When executed, teleport enables movement between the Overworld, Nether, and End.
To teleport to the nether try the following command:
/execute as @a in minecraft:the_nether run teleport ~ ~1 ~
To teleport to the end try the following command:
/execute as @a in minecraft:the_end run teleport ~ ~1 ~
To teleport to the overworld try the following command:
/execute as @a in minecraft:overworld run teleport ~ ~1 ~
Version History
addedMore 1.21.2 tags, including equippable, death_protection
addedFood consumable for 1.21.2 with effects
addedDecorated Pots
addedUpdated food to consumable for 1.21.2, still has some issues with effects
addedUpdated attribute names for 1.21.2
Read version history »
(72 More Updates)