[MC-2631] /defaultgamemode not changing tag on world selection screen Created: 09/Nov/12  Updated: 14/Nov/15  Resolved: 09/Nov/15

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.4.4, Snapshot 13w05b, Snapshot 13w07a, Minecraft 1.5.1, Minecraft 1.5.2, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 1.7.9, Minecraft 14w17a, Minecraft 14w20a, Minecraft 14w20b, Minecraft 1.7.10, Minecraft 14w30c, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.6, Minecraft 15w36d
Fix Version/s: Minecraft 15w46a

Type: Bug
Reporter: Ice Trailer Assignee: Unassigned
Resolution: Fixed Votes: 8
Labels: gamemode, screenshot

Attachments: PNG File asdf.png    
Issue Links:
Duplicate
is duplicated by MC-9671 /gamemode not updating on a server fo... Resolved
is duplicated by MC-9857 Wrong gamemode display on save menu Resolved
is duplicated by MC-15998 Game mode displayed in World selectio... Resolved
is duplicated by MC-17128 the /defaultgamemode command is broken Resolved
is duplicated by MC-19515 Wrong Gamemode appears in creative no... Resolved
is duplicated by MC-21093 Always i enter in my creative world, ... Resolved
is duplicated by MC-33421 Open to Lan corrupts SSP world save Resolved
is duplicated by MC-55363 /defaultgamemode doesn't change in wo... Resolved
CHK:
Confirmation Status: Confirmed

 Description   

If I open a new World, for ex. in Survival, and change the gamemode ingame to Creative, and leave then the game, then in the world selection there is the default gamemode.



 Comments   
Comment by Kumasasa [ 14/Nov/15 ]

Fixed in 15w46a

Comment by qmagnet [ 13/Aug/14 ]

Confirmed for 14w32d

Comment by Ely G [ 28/Jul/14 ]

Confirmed for 14w30c. Not only does it not change the tag, it doesn't work entirely. You can see this by running the command and then going into an NBT editor.

Comment by John Smith [ 17/May/14 ]

confirmed in 14w20b

Comment by Orion Humphrey [ 27/Jan/14 ]

In 14w04b

Comment by [Mod] Ezekiel (ezfe) [ 26/Jan/14 ]

Is this still a concern in the latest Minecraft version 14w04b? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Liam Whitt [ 25/Sep/13 ]

Confirmed in 13w38c using the /defaultgamemode command.

Comment by Daniel [ 16/Feb/13 ]

Confirmed in 13w07a. Also can you add more labels to avoid duplicates? You can also go to the duplicates and copy the labels.

Comment by Mustek [ 14/Nov/12 ]

Please do not select the future version as you do not have it yet.

Comment by GrygrFlzr [ 10/Nov/12 ]

Yes, I just said that using /defaultgamemode does not change the tag, but that is a separate issue. The one being discussed above is using the /gamemode command, which is different - look at his chat and you'll see that's the response for /gamemode, not /defaultgamemode. However, /defaultgamemode should change the tag, so that is a bug, but this is not.

Comment by Ice Trailer [ 10/Nov/12 ]

No, it is an issue. I just tried it, and with /defaultgamemode 1, there is a "Survival Mode" in the world selection..

Comment by GrygrFlzr [ 10/Nov/12 ]

Not a bug. This is because you are setting the local gamemode of the player, not the world.
If you want to modify the world gamemode, you'll have to modify the NBT tag for it, or use /defaultgamemode, but the latter doesn't modify the world difficulty tag.
Similarly, difficulty doesn't stay because the user has the right to reset the difficulty using the GUI settings. If you really want to force your players to play in a certain difficulty, hook up the command block to a redstone clock.

Comment by Orion Humphrey [ 09/Nov/12 ]

This also happens with the difficulty. If you have it set to hard in the options but then change it to peaceful with command blocks or whatever then it will revert to hard when reloading the world.

Generated at Sun Jan 12 11:58:32 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.