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

Setting doMobSpawn to false doesn't prevent mobs from spawning.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.8
    • None
    • Windows 8.1, Java 1.7.0_67 64 bit
    • Unconfirmed

      I was on a creative single player world on which I had customized the terrain. I wanted to test if doMobSpawn prevented passive mobs from spawning because I couldn't get a clear answer on the internet. After creating the world for the first time I let it load in and then set doMobSpawn to false. I flew quite a while in one direction and saw cows, sheep, pigs, horses, rabbits, donkeys, and squids. I then set the time to night, to make sure it was working, and immediately hostile mobs started spawning. I double checked that doMobSpawn was false and it was. To make sure I was using it correctly I set the game difficulty to peaceful so the hostile mobs would despawn, set doMobSpawn to true, and then set the game difficulty to hard. Hostile mobs started spawning again immediately. I'm going to attach a screenshot to show you what I mean.

            Unassigned Unassigned
            pastelnerd Leah Tedder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: