mojira.dev
MC-163904

Bees pathfinding doesn't work properly when stuck inside/encased in end rods

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:

  1. Run this command to place down numerous end rods

    /fill ~1 ~1 ~1 ~-1 ~ ~-1 minecraft:end_rod[facing=up]
  2. 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:

  1. 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

Attachments

Comments

migrated
[media][media][media][media][media][media][media]
migrated

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]
migrated

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.

Orbic

Still in 20w11a

Orbic

In 20w12a

migrated

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.

migrated

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.

Orbic

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 

Avoma

Can confirm that this is still an issue in 20w51a.

ampolive

Relates to MC-162773.

[Mod] Jingy

Can confirm in 1.20.1

[Mod] Jingy

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]

[Mod] Jingy

Requesting ownership to update issue with previously mentioned information. Original poster is inactive since 2019.

[Mod] Jingy

(Unassigned)

Community Consensus

Gameplay

Normal

Mob behaviour

ai, bee, end_rod, pathfinding

19w42a, 1.15.2, 20w11a, 20w12a, 1.16 Pre-release 3, ..., 23w46a, 1.20.3, 1.20.4 Release Candidate 1, 23w51b, 24w07a

Retrieved