- check_circle Functions
- 18,618 views, 1 today
- 1,431 downloads, 0 today
31
This is a very simple datapack that allows villagers to breed even if mobGriefing is disabled on the world or server. By default, villagers are not allowed to pick up items when mobGriefing is disabled, which prevents them from breeding. This pack fixes that by giving villagers the items on the ground, rather than relying on the villager itself to pick them up.
To be given the items, the villager must be within 1 block of them, and the stack must be the exact amount required to induce willingness in the villager. While mobGriefing is disabled, villagers will still attempt to pick up their breeding items, which puts them in range automatically.
The amount of crops / breeding items of a type needed to induce willingness are listed below:
If a villager has already picked up the necessary amount of an item type, they will not pick up any more of that type, however, they will pick up a set of a different item type. For example, if a villager already has 12 carrots, they will be willing to breed and will no longer pick up any more carrots, though they will pick up 3 bread and/or 12 potatoes/beetroot.
For more information on how villager breeding works, see the wiki page. This datapack only slightly alters the last paragraph of the willingness section, all other information is completely unchanged.
To be given the items, the villager must be within 1 block of them, and the stack must be the exact amount required to induce willingness in the villager. While mobGriefing is disabled, villagers will still attempt to pick up their breeding items, which puts them in range automatically.
The amount of crops / breeding items of a type needed to induce willingness are listed below:
- Bread: 3
- Carrots: 12
- Potatoes: 12
- Beetroots: 12
If a villager has already picked up the necessary amount of an item type, they will not pick up any more of that type, however, they will pick up a set of a different item type. For example, if a villager already has 12 carrots, they will be willing to breed and will no longer pick up any more carrots, though they will pick up 3 bread and/or 12 potatoes/beetroot.
For more information on how villager breeding works, see the wiki page. This datapack only slightly alters the last paragraph of the willingness section, all other information is completely unchanged.
Compatibility | Minecraft 1.17 |
to | Minecraft 1.18 |
Tags |
1 Update Logs
Update #1 : by terezridax 12/21/2021 7:04:49 pmDec 21st, 2021
Updated for 1.17 and 1.18. Will no longer work with 1.16 and below.
4742017
119
Create an account or sign in to comment.
Thank you.
Not working in 1.17.1.
I wish there's a datapack that prevents mobs from accidently breaking crops. That's why I hate slimes in superflat world because they don't care when they break crops and village crops!