Possible Duplicate:
Is it possible in Minecraft to switch over from survival to creative in single player?

There are times when I'm in a network of caves and I get so lost that I can't get back to the entrance and I'm out of materials to build pickaxes to mine upwards and because of the load of materials I just mined dying isn't an option (because if I do make it back I'll just be lost again)

At times like this I want to switch to creative mode and fly straight up and then back to my base. I know it's kind of cheating but I can sometimes spends hours being lost, markings don't help because of just how large of a labyrinth these mines are and I already carry a hell lot of tools I don't have the space to carry anything else to make markings with without running into problems of being able to cart the stuff back home.

  • Although I will add that it is now "officially" possible to switch between modes, but the map is required to be created with "Allow Cheats" selected.
    – Resorath
    Commented Aug 15, 2012 at 23:03
  • 1
    Here's some advice on markings: Whenever you reach an intersection, place a block in the middle of the intersection, and put a torch on the side of the block pointing towards the way out.
    – SaintWacko
    Commented Aug 15, 2012 at 23:27
  • Go to gamemode spectator instead of creative. This way you can fly through blocks. Commented Jul 30, 2015 at 11:58

1 Answer 1


If you have cheats enabled in your game, you can use the command /gamemode <playername> 1 to switch to creative mode. To switch back to survival mode, use /gamemode <playername> 0. And just to be thorough, to switch to adventure mode, use /gamemode <playername> 2.

  • will it affect any of my stats if i used that?
    – Memor-X
    Commented Aug 16, 2012 at 5:14
  • I believe it will restore your health and hunger. Can't remember for certain. It will leave your experience as it is.
    – SaintWacko
    Commented Aug 16, 2012 at 5:43
  • 1
    Also, you can use /gamemode survival /gamemode creative and /gamemode adventure
    – Timtech
    Commented Aug 26, 2013 at 15:16
  • @Timtech Ah, those must be new!
    – SaintWacko
    Commented Aug 26, 2013 at 15:56
  • 1
    Yes, they are. You can also use the first letters s c and a.
    – Timtech
    Commented Aug 26, 2013 at 16:00

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