Mojira Archive
MC-147124

"/gamerule doMobSpawning false" does not prevent passive mob spawning

The Bug

The gamerule "doMobSpawning" is supposed to affect mobs (of all types - ex: passive, hostile, etc.) that are naturally spawned (which excludes things like mob spawners). However, setting the gamerule "doMobSpawning" to false does not prevent passive mob spawning (at least in newly generated chunks - I haven't been able to accurately test if passive mobs will spawn outside of generating with new chunks).

Steps to reproduce:

1) Create a new world
2) Run the command:

 /gamerule doMobSpawning false 

3) Move outside of pre-generated chunks
4) Observe passive mobs such as Chickens, Pigs, Cows, etc. being placed in new chunks as they generate.

Duplicate

Jake Gearhart

2019-03-31, 05:27 AM

2019-04-02, 04:03 PM

2019-04-02, 04:03 PM

0

0

Unconfirmed

Minecraft 19w13b

-