Teleports you to coordinates
/tp 100 80 -200
Teleports you to the x, y, z coordinates you type. You can see your own coordinates with /whereami.
All teleporting is done with /tp. Type coordinates and you go there; type a player's name and you go to them. /tp back returns you to your previous position, and /tp top lifts you to the top of where you are. For places you visit often, you save named points with /warp.
Most codes here need cheats turned on first. See the section on how to open the console.
/op self
/tp 100 80 -200
Teleports you to the x, y, z coordinates you type. You can see your own coordinates with /whereami.
/tp PlayerName
You go to the player whose name you type. To send one player to another, type /tp Player1 Player2.
/tp top
When you are stuck in a cave or underground, it takes you straight to the surface, on top of the highest block.
/tp back
Sends you back to where you were before your last teleport.
/spawn
Takes you to the world's spawn point.
/spawn set
Sets the world's spawn point to where you are standing. To return it to the default, type /spawn default.
/warp set Home
Saves your current position under the name you give. The name can be anything you like.
/warp Home
Takes you to a point you saved earlier. /warp list shows your saved points; to delete one, type /warp remove Home.