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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 19w13b
    • None
    • Mac OS High Sierra
      Version 10.13.4
    • Unconfirmed

      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.

            Unassigned Unassigned
            Jkgearhart Jake Gearhart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: