Monday, October 31, 2011

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

Question

This question is regarding the minecraft 1.8 prerelease -- I have a beautiful house in single player survival which I'd like to record while flying.

I want to be able to change the game mode of my survival map to creative to be able to fly through it without installing a mod. I know it is possible if you run the map on a multiplayer server via the command /gamemode <user> 0|1 but I want to achieve this in single player :)

I think this would be possible through editing your level.dat file as I think that's where the game mode for the map is stored.

Answer

Yes, but currently, not without third-party software.

For single-player worlds, the game mode is stored in the level.dat file, which can be edited using an NBT editor, such as NBTedit. The game mode is stored in Data/GameType — 0 for Survival, 1 for Creative.

No comments:

Post a Comment