[Suggestion] Make barrels milk cows that are standing on top of them.
SirLyle opened this issue · 8 comments
Just a minor automation improvement that could be added. Maybe expanded into something that could be configurable for pack makers.
I'm still new to modding but I tried my hand at it (yay open source mods to practice on).
I'm actually working on making it a definable recipe for any entity so that it can be adjusted for packs.
onEntityWalk seems to be working when the cow is restricted to a 1x1 area over a barrel; which is how I imagine most people would set it up.
Well I think I have it working using the entity walking event, a configurable cool down, and definable recipes. Works with caged mobs so I think the entity walking event is really an entity-on-top-of event.
There are a few scenarios I want to try to make sure it is stable. I will make a PR when I have satisfied my self QA.