Skip to content
[/craft]

Teleport Safely Without Suffocating

Teleport but cancel if the spot would trap you in blocks

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Adds Bedrock's checkForBlocks flag (the trailing 'true') so the teleport only happens if you would not be stuck inside a solid block at the destination. If the spot is obstructed, the command fails and you stay where you are instead of suffocating. Java has no equivalent argument, so its javaCommand is null.

/tp @s 100 70 100 true
22 characters

How to use

  1. Open chat (/ on Bedrock).
  2. Set your destination coordinates and keep 'true' at the end for the safety check.
  3. Press Enter — you only move if the landing spot is clear.

Related commands

Instantly move to a specific X Y Z location

/tp @s 100 64 -200

Instantly move to where another player is standing

/tp @s PlayerName

Set where you respawn after dying to your current location

/spawnpoint @s ~ ~ ~

Change where new players and players with no bed spawn

/setworldspawn ~ ~ ~

Pull every player in the world to your location instantly

/tp @a @s

Jump straight up 10 blocks without flying

/tp @s ~ ~10 ~