mojira.dev
MC-118464

Ocelots spawn with peaceful as difficulty after reopening the world

The bug

Based on MC-1788 ocelots should not spawn if Peaceful is set as difficulty. However when reopening a world with Peaceful as difficulty they will spawn.

How to reproduce

  1. Create a Superflat world with the following preset

    3;minecraft:grass;21;
  2. Set the difficulty to Peaceful

  3. Kill all other currently existing entities

    /kill @e[type=!player]
  4. Wait some time
    → You should not see any ocelots spawning

  5. Reopen the world
    → Ocelots start spawning despite the fact that the difficulty is still Peaceful

Linked issues

Comments 6

I get ocelots spawning in the testing world i have just not parrots or do oyu mean in peaceful which i aint tried?

Can confirm for MC 1.12.1.

Cannot reproduce for 1.13.1. Can anyone else try to reproduce?

EDIT: Can reproduce with preset @unknown provided, didn't know about that.

Can't reproduce in 1.13.1 with that preset as ocelots don't seem to spawn anymore at that height. They now only appear to spawn at sea level or higher as described on the wiki. So basically I'm still able to reproduce this issue in 1.13.1 with that preset here:

69*minecraft:grass_block;minecraft:jungle;

But what's interesting, unrelated to this ticket here, parrots don't spawn for me anymore with these jungle superflat presets in 1.13.1 when they did in 1.12. I wonder what has changed in this regard.

seems to be fixed in 20w17a

Cannot reproduce in 1.16.1. Ocelots won't spawn in peaceful mode (but will on other difficulties), and relogging has no effect on this.

marcono1234

(Unassigned)

Confirmed

(Unassigned)

difficulty, ocelot, peaceful

Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.13.1, Minecraft 1.13.2-pre2

Retrieved