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 2026Adds 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- Java: no
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (/ on Bedrock).
- Set your destination coordinates and keep 'true' at the end for the safety check.
- Press Enter — you only move if the landing spot is clear.
Related commands
Teleport to Coordinates
Instantly move to a specific X Y Z location
Teleport to Another Player
Instantly move to where another player is standing
Set Your Spawn Point
Set where you respawn after dying to your current location
Set the World Spawn
Change where new players and players with no bed spawn
Teleport All Players to You
Pull every player in the world to your location instantly
Teleport Up 10 Blocks
Jump straight up 10 blocks without flying