Bees select their flower target without checking if they can actually get to it. Since they prefer certain heights they can get stuck on targeting a further away flower that they can't reach instead of targeting one that is within reach (see attatchments)
Linked issues
Attachments
Comments 3
So in other words, the issue is that, after failing to pathfind to the nearest block, the bee doesn't remember the blocks that it failed to pathfind to when choosing which block it should pathfind to next?
Specifically this happens because
BeePollinateGoal.findNearestBlock
prefers blocks on the layer below the bee over blocks on the same layer and then after theremainingCooldownBeforeLocatingNewFlower
expires the bee will not have moved from its original position and find the same flower again, endlessly trying to get to the bottom flower without success.