Take the 2-minute tour ×

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.

share|improve this question
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 Aug 15 '12 at 23:03
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 Aug 15 '12 at 23:27
add comment

marked as duplicate by Resorath, ChrisF, Ronan Forman, Raven Dreamer Aug 15 '12 at 23:37


1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
will it affect any of my stats if i used that? –  Memor-X Aug 16 '12 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 Aug 16 '12 at 5:43
Also, you can use /gamemode survival /gamemode creative and /gamemode adventure –  Timtech Aug 26 '13 at 15:16
@Timtech Ah, those must be new! –  SaintWacko Aug 26 '13 at 15:56
Yes, they are. You can also use the first letters s c and a. –  Timtech Aug 26 '13 at 16:00
show 1 more comment
