mojira.dev
MC-160004

Bees don't avoid water when pathfinding

When spawning a bee on top of water, the bee will dive straight into the water, which is the opposite of what they are assigned to do.

Attachments

Comments 8

Does this issue also happen if you don't spawn the bees above water?

I've done some extensive singleplayer testing, and this seems to be the product of a bug and an intended feature.

Bug:
Bees will often (Not 100% of the time) fly directly downwards for a short period upon spawning. This overrides the rest of their AI, including water avoidance.
The amount is entirely random but is most of the time <15 blocks
During testing the furthest I have seen a bee fly down was an obscene 95 blocks. I have attached an image.

WAI:
If a bee is more than 1 block below the surface of a body of water, it becomes unable to move at all and drowns because bees can't swim. It may be worth noting that MC-159350 also occurs here.

Confirmed for 19w36a, 19w37a, 19w38a and 19w38b.

Confirmed for 19w40a and 19w41a.

This appears to be the same as MC-190261. Not too sure which tickets should be resolved as a duplicate of one another though.

Resolving forward to MC-190261 as there are more votes on that ticket. Thanks for your report!

Jackson Wang

(Unassigned)

Community Consensus

Low

Mob behaviour

19w35a, 19w38b, 19w41a, 1.17, 1.18.1

Retrieved