mojira.dev
MC-45055

/difficulty does not change difficulty when used in singleplayer

when using the /difficulty command in single player the difficulty is not changed accordingly.

Steps to reproduce:
1. open world
2. in the game's menu set difficulty to peaceful
3. in the command box, type "/difficulty easy"
4. try to spawn a monster with a mob egg
the mob will appear and disappear, as it would in peaceful difficulty.

Linked issues

Attachments

Comments 4

Confirmed. May be intended.

Abandoned account

Migrated attachment from MC-45249.

Abandoned account

Alternative way of reproducing this issue:

  • Create a new world (not sure if necessary...)

  • Make sure the world difficulty is set to "normal"

  • Spawn in some mobs using /summon or do /time set 18000

  • Type /difficulty 0

  • Mobs won't despawn!

I don't think that's intended.

Commands that don't affect singleplayer usually aren't usable either.

Abandoned account

Also affects 14w02c and 14w03a

Adam

(Unassigned)

Confirmed

difficulty, peaceful, spawning

Minecraft 14w03a

Retrieved