5

Somewhere in gnembon's Simple Hostile Mob Farms, Minecraft 1.12 (Fun Farms Ep. 15) video he mentions difficulty and local difficulty but I cannot remember where in the video.

In my 1.12 survival world I ran my build of his farm for an hour, getting about 4600 items/hr on Normal and about 6500 items/hr on Hard (regional difficulty 3.19, which is much lower than the max of 6.75). I ran the Normal test before the Hard test so the local difficulty may have changed slightly. Some of this effect might be due to pack spawning or just higher spawn rates.

The answers from Advantages of hard mode in minecraft are outdated.

I am looking for evidence based answers (tests, looking through game code), not hearsay or what the wiki says if it is unsourced.

2
  • 2
    The only relevant search result for "difficulty" on the "spawn" article is "the pack size can depend on difficulty" and the only relevant search result for "spawn" on the "difficulty" article is "Slimes are more likely to spawn in swamp biomes". So yes, a properly researched answer would be very good. Commented Jan 9, 2020 at 15:59
  • In regular gameplay it doesn't matter - regardless of difficulty mob cap is filled within seconds, and it is by far the main factor that regulates all new spawns. It will matter in case of efficient farms though, where mobs are killed or removed from cap otherwise fast enough that mob cap is not reached.
    – SF.
    Commented Jan 12, 2021 at 8:31

2 Answers 2

1

Yes, hostile mobs will spawn more when on hard mode than easy and normal mode.

8
  • 1
    What is your source for this
    – qwr
    Commented Jan 12, 2021 at 8:14
  • Its in the code, the Minecraft wiki and i did a test. Easy spawns around 1-3 mobs per chunk, normal spawns 3-6 and hard spawns 5-7 mobs per chunk Commented Jan 13, 2021 at 22:38
  • If it's in the code, show the relevant code snippet.
    – qwr
    Commented Jan 13, 2021 at 23:50
  • Its not a single line of code its part of a huge chunk of text Commented Jan 14, 2021 at 14:00
  • That's fine. I've posted code chunks in the past.
    – qwr
    Commented Jan 15, 2021 at 0:08
0

No, spawn rates are not affected by difficulty.

However, there are effects of harder difficulty on spawned mobs, including (but not limited to):

  • Chance of spawning with armor
  • Chance of spawning with enchanted weapons
  • Zombies and skeletons are more likely to pick up loot
  • Slimes are more likely to be larger
  • Spiders can spawn with speed, strength, regeneration or invisibility
  • Zombies can spawn with reinforcements

I found these by searching for usages of the getSpecialMultiplier method in net.minecraft.world.DifficultyInstance.

I did not include any code snippets because you can't publish decompiled Minecraft code.

1
  • I'm pretty sure difficulty and local difficulty influences spawn rates since it was mentioned recently in ilmango's swamp slime farm video. Also sue me Mojang.
    – qwr
    Commented Jun 21, 2022 at 17:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .