Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-888

/difficulty command doesn't change the default difficulty in the ESC menu (singleplayer)


    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 14w04a
    • Minecraft 1.4.2
    • None
    • Windows 7, Java 1.7.0_09
    • Unconfirmed

      I'm not 100% sure whether this is a bug or a feature.

      Typing /difficulty <0|1|2|3> into the command line with the allowCommands NBT tag set to 1 or having spawned a world with cheats enabled to change the default difficulty for the save, not just the runtime difficulty

      With the NBT tag allowCommands set to 1, or after spawning a world with cheats enabled, typing /difficulty <0|1|2|3> into the chatbox (command line) does not change the difficulty set by the setting in the ESC menu. The environment correctly reflects the change (mobs despawning when set to 0), but after changing the difficulty and reloading the world the difficulty set by the ESC menu takes precedence over that previously set.

            dinnerbone [Mojang] Nathan Adams
            dotzo Jeremy Dreyer
            0 Vote for this issue
            4 Start watching this issue