MinecraftForge/MinecraftForge — pull request #280 by ScottKillen (2012-11-28 03:48:39+00:00)
Title: Mob spawn rules override

Some entities have hardcoded rules to control spawning. For instance: slimes can only spawn underground in certain chunks or in Swamp biomes at night at certain y-axis values, regardless of the wider-scope spawn settings.

This change uses a LivingCanSpawnEvent to allow mods to override slime spawning rules.

This is a better patch and replaces MinecraftForge/MinecraftForge#270