Similar to how Piglins run towards golden items on the ground, all mobs should run towards items they like and eat/pick them up.
When you throw Wheat on the ground, Cows, Sheep, and Horses should be attracted towards the item thrown. When they reach the item, they should bend their heads down (similar to when Sheep and Horses eat grass) and eat the item. Pigs would do this for carrots and potatoes. Chickens would do this for seeds.
If an item is eaten, it should heal the mobs a little if they were damaged at some point, and activate love mode if the items is the right kind (hmm... could have potential for automatic mob farms...).
The items mobs are attracted to would be categorized into tags, like the piglin_loved tags, so people could edit what items mobs like.
Please sign in to leave a comment.
1 Comments