Instead of running around searching for large farms, we have now hardcoded breeding limits. This means that any attempt to breed more animals than configured will fail. That includes the use of spawn eggs. If you use a spawn egg to create an animal despite having reached the limit, the egg will be gone, but you will NOT get an additional animal. So please be careful what you do.
How do you know if you reached your limit? Use the /headcount command. In worlds with lots, the count goes per lot. In worlds w/o lots (darklands, nether), it goes per chunk (16×16 blocks). Here are the limits for sheep, cows, chicken & pigs:
- Lot worlds: 10 each per lot
- Other worlds: 5 each per chunk
That means that you can have maximal 40 animals per lot or 20 per chunk depending on the world. If there are animals spawning by themselves in your lot, they will count into that number. PLEASE do not take this as an encouragement to always have minimum 40 animals on your lot. The more animals, the more lag! If you had more animals already, they will not be automatically killed, but please reduce the animals to the limit.
Azkedar helped to modify an existing plugin to enable this, so thanks a lot to our C0dr!