Spawn-Proof Villagers
Prevents the spawning of mobs near villagers, as if they were players.
The default spawn-proofing radius is the same as players. It can be configured in the gamerules.
Iron Golems and Cats are not prevented from spawning, since they are not natively affected by the presence of players
All Versions
+ Add Version- Fixed bad name for the gamerule category
- The spawn-proofing radius can now be configured in the gamerules, up to a maximum of 128 blocks.