Use /rtp to travel to a randomly selected destination. From Spawn, it sends you to the main world.
Run /rtp to start the teleport. Stay still and avoid damage during the 3-second countdown; moving or taking damage interrupts it.
You cannot use /rtp in the End. After a successful teleport, wait 5 minutes and 30 seconds before using it again.
The search avoids ocean and river biomes, deserts, badlands, snowy or frozen areas, mountain peaks, mushroom fields and basalt deltas. It also keeps destinations away from ruined towns.
Each destination is chosen by its distance from the world's spawn:
| Destination | Random distance from spawn |
|---|---|
| Main world | 1,000 to 8,000 blocks |
| Nether | 1,000 to 4,000 blocks |
If the command cannot find a destination, it tells you to try again later.