I really need help on teleporting my player while he is offline, as I accidentally added the ~ to /tp @p ~ ~ ~300000000 and teleported to an illegal position. I then tried to use NBTExplorer to change the Pos data to normal, but when I load the world, the data resets like I didn't edit it at all. I tried copy, paste, and saving, but Minecraft keeps rejecting it!

What should I do?

  • 1
    Did you click the save button? Commented Jul 14, 2015 at 15:33

2 Answers 2


In NBTExplorer make sure you are editing the level.dat file, not a playername.dat file as singleplayer worlds read from the level.dat, not one of the playername.dat files in the saves/savename/players/ folder.

Inside level.dat make sure you are editing level.dat/Data/Player/Pos and not level.dat/Data/Spawn<X/Y/Z>. When you are done make sure you hit the save button at the top to save it. As long as you overwrite these NBT tags and save the level.dat the game has nowhere else to look to find the player's position.

  • This is a thing that is hard to find.
    – Uncle Dino
    Commented Apr 22, 2017 at 14:05

McEDIT your world and place your character back to spawn.

  • 2
    Welcome to Arqade, but we need better answers than the really bad one-liner. Perhaps you could walk us through how to do it with MCEdit.
    – aytimothy
    Commented Sep 29, 2015 at 8:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .