Published by
MC Commander operator
Last reviewed
Verification status
Version-specific regression tests for major generators, JavaScript/PHP syntax, and internal HTML references were checked. Not every version/output combination has been executed in Minecraft itself. Editorial policy

Copy-ready starting examples

/tp @p 100 64 -20
/tp @s PlayerName
/tp @a ~ ~10 ~

How to build it

  1. Choose the entity or player to move.
  2. Select coordinates or a destination player.
  3. Optionally add facing data and test at a safe location.

Common mistakes

Edition and version notes

Java supports additional facing forms. Bedrock syntax differs in some cases, so select the correct edition.

Open generator

Understand the coordinate reference

/tp @p 100 64 -20 targets a fixed location. /tp @p ~ ~3 ~ moves three blocks upward relative to the command source position; be aware that command blocks and players use different origins. Coordinates beginning with ^ are local to the command’s rotation and should not be confused with the ~ form.

Before teleporting a group of players, try one destination with @p in an unobstructed test area. Check the destination’s dimension and safety. The generator assembles syntax but cannot assess terrain or whether the destination is dangerous.

Related pages

← Minecraft Command Solutions