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
addedeffects version support to java 1.5, improved bedrock support
addedparticles version support to java 1.8
addedteleport (tp) version support to java 1.0
addedtellraw, title version support to java 1.8
patchbedrock versioning should only have current one version
patch1.12 banner support, color bug fix
patchgive 1.21.4 equipment model field has been renamed to asset_id
patchforce paste in rich text editor, maybe
patchwritten book page import click and hover events not rimporting
patch1.21.5+ text and lore empty array json
patchgive, can place and can break rules to use blocks for the search list
patchgive, updated 1.21.5+ hide additional tooltip
patch1.21.5 give command attribute modifiers ids require quotes
addedparticle generator pale_oak_leaves, tinted_leaves
added1.21.5 items
patchrich text had issues with quotes and backslashes
patch1.21.5 written books on click got to page
addedInitial snapshot for 1.21.5
Read version history »
(82 More Updates)