Started by
pyloner cat
on
Topic category: Help with Minecraft modding (Java Edition)
The thing is pretty simple, let me explain it
When right-clicked with seeds
Adds a seed to the bin.
Passive behavior
When it has seeds, chickens will come to it
When chicken is nearby
The chicken will eat from the bin, removing some seeds from the bin, and speeding up it's egg laying timer, but also putting eating from the bin on a cooldown. During that cooldown, chickens are no longer attracted to it, but will resume being attracted to it once the cooldown ends.
This is a lot more complicated than it sounds, but not totally impossible.
I'd recommend taking a look at Quark's github if you want some pointers, they have a pretty decent animal feeder system.
Alright, thanks.