i've been developing a mod with a custom bee variant, the "Beeper". currently my approach has been to just copy most of the code from vanilla bees and beehives, then alter it to fit what i want. (for example, my BeeperEntity class extends Animal and implements NeutralMob and FlyingAnimal, just like bees, with much of the logic copied over.
currently, the beepers function (i can spawn them, and they properly wander around and animate) but do not attempt to pollinate flowers, nor do they go to any beeper hives (which are also made by copying the vanilla beehive classes).
i'm currently attributing the lack of pollination to the shearing feature i attempted to add; beepers have thick fur that i want to be shearable. when sheared, a beeper is supposed to lose its ability to properly pollinate, since normally the pollen sticks to the fur, but i think i poorly implemented the hasFluff boolean such that pollination is being inhibited entirely? not sure.
here is the repo;
https://github.com/qtpiii/jeepers-beepers
any help is greatly appreciated!!