Throw food at animals to feed them and breed them.
They will not actively search for food around them, but all animals that can be tempted by food can pick it up and eat it from the ground next to them.
What is tested and works:
- Bees (flowers - poppy, etc)
- Chicken (seeds of wheat, beetroots, melons and pumpkins)
- Cats (raw cod and raw salmon)
- Cows (wheat)
- Ocelots (raw cod and raw salmon)
- Pigs (carrots, potatoes, and beetroots)
- Rabbits (carrots, golden carrots, dandelions)
- Sheep (wheat)
- Turtles (seagrass)
- Wolves (any meat and fish and even rotten flesh)
Horses and Donkeys and Llamas (golden (also enchanted) apples, golden carrots)
TODO: Horses, Donkeys, Llamas
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 ;)
Change history
1.2.0 "attention" range for animals is now equal to the distance it which they notice players, they run that long to the food with the same speed as when tempted by a player
1.1.0 increased "attention reach" of animals, they also feed on food in blocks next to them
1.0.1 removed some extra logging and updated dependencies
1.0.0 first version
