mojira.dev
MC-308674

After re-entering the save, the game mode is set to Survival mode.

Question:In the save file, enable 'Allow Cheats'; all game modes in this save file will switch to survival mode when re-entering after exiting the save.

Step:Create a new save, enable cheats, after entering the save, switch to any game mode other than Survival, and then enter this save again, you will find it is in Survival mode.

Expected Result:After entering the game,Game mode switched.

Actual result:After entering the game, it is all survival mode.

Environment

Java:25.0.3,Windows 10 Professional Edition x64.

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media]

Can confirm
It will reset to the default game mode as set by /defaultgamemode

JMm126

(Unassigned)

Community Consensus

Platform HC

Important

Save Data

26.2 Pre-Release 4

26.2 Pre-Release 5

Retrieved