Throw food at animals to feed them and breed them.
They will look for food on the ground around them, pick it up and eat and breed.
Note that this does not tame animals!
Who eats which food:
- Bees: flowers - poppy, etc
- Chicken: seeds of wheat, beetroots, melons and pumpkins
- Cats and ocelots: raw cod and raw salmon.
- Cows and sheep: wheat
- Pigs: carrots, potatoes, and beetroots
- Rabbits: carrots, golden carrots, dandelions
- Turtles: seagrass
- Wolves: any meat and fish and even rotten flesh
- Horses and Donkeys: sugar, wheat, hay blocks, golden apples, golden carrots, golden enchanted apples
- Llamas: wheat and hay blocks
It can probably also work for animals from other mods (depends on how they are implemented).
If you find anything failing or missing drop a comment or create an issue on github.
Short demo:
Have fun!
MaxVar
P.S. This is another mod created after "Dad, my mod is no longer working in 1.15.2! Can't you fix it?!"
Going through Goals code for different animals I found out that Foxes and Pandas seem more intelligent and definitely live more healthy and interesting life than the villagers ;)
( my other mod is ease-reaping of crops, cocoa and nether warts https://www.curseforge.com/minecraft/mc-mods/maxvar-reap-for-fabric )