The bug
When a bee is positioned inside an end rod and trying to fly towards an adjacent end rod, their pathfinding and AI does not function as expected.
Steps to Reproduce:
Run this command to place down numerous end rods
/fill ~1 ~1 ~1 ~-1 ~ ~-1 minecraft:end_rod[facing=up]
Spawn a bee inside the center of the end rods (Push the bee around if necessary until it gets stuck)
Observed Results:
The bee will start flying forward until it gets stuck on an end rod, to which it will keep flying into it.
Expected Results:
The bee would properly navigate it's way out of the end rods.
Screenshots/Videos:
[media]
Notes:
This was partially fixed in MC-189111 where bees would wander into end rods at random and get stuck, but that is no logner the case. They properly avoid getting stuck and will navigate out of facing a single end rod now. This issue is specifically when the bee is occupying the space of an end rod, and flying towards an adjacent end rod (See the video attached)
Related issues
is duplicated by
relates to
Attachments
Comments


Seeing the same issue in 1.15.1, adding some screens to back up the original post..
Have also seen other mobs get stuck on top of end rods.. Golems and Skeleton Horses
Thanks.
[media]

Issue still present in 1.15.2 with bees and end rods specifically. What's worse is that the bees seem to actively pathfind into end rods; i.e. if there's a wall of end rods they seem to preferentially fly into the rods rather than between the gaps. My entire base right now is lit up with end rods and every single bee in the area is stuck to one of them until I go and break it, at which point they go get themselves stuck on the next one.
Interestingly enough the bees also seem to fail to pathfind out of the endrod block once they're in it; for example if you're holding a flower and walk such that the bee wants to track you away from the end rod itself, it'll just never move. On what may or may not be a related note, bees also completely fail to pathfind away from lava.

Still in 20w11a

In 20w12a

Confirmed in 20w13b, they completely lose AI. My base is a flower forest lit by End Rods with lots of bees, so I have to go push them out of the hitbox every day or so.

This happens for any passive/neutral mob for me in java and bedrock editions. It is most likely because passive/neutral mobs are attracted to light.

Still happens to me with bees in 1.16 Pre 3. Can't seem to confirm it with all passive/nuetral mobs but maybe someone else could
Can confirm that this is still an issue in 20w51a.

Relates to MC-162773.
Can confirm in 1.20.1
This was partially fixed in 1.19.3 Pre-release 2 (see MC-189111) where the bee no longer gets stuck on just one end rod, but if surrounded by end rods, will get stuck.
[media]
Requesting ownership to update issue with previously mentioned information. Original poster is inactive since 2019.