mojira.dev
MC-211204

Mobs unable to pathfind properly when scared or idled on transparent blocks

The bug

When a villager is standing on a transparent block (such as leaves or glass), and its scared from a hostile mob, it will either move in short quick bursts or not move at all. If there is a solid block at all, it will just run to it and stay there (even if it is close to the hostile mob).

Video demonstrating the issue: https://youtu.be/4t75cJ3NBHI

Linked issues

Attachments

Comments 14

[media][media][media][media]

Hmm, I can't seem to reproduce, can you provide your test environment?

Can confirm that this an issue in 20w51a. The villager simply remains still whilst being attacking and does not attempt to run away.

I just tested and this is an issue in both 1.16.4 and snapshot 20w51a. For my secondary test, I just created a superflat world with glass as the floor. Linked is a video of what I am experiencing.

 

https://youtu.be/4t75cJ3NBHI

I just tested and this is an issue in both 1.16.4 and snapshot 20w51a. For my secondary test, I just created a superflat world with glass as the floor. Linked is a video of what I am experiencing.

 

https://youtu.be/4t75cJ3NBHI

4 more comments

Additionally their regular wandering is also affected by this. If they are on an infinite plane of glass for example, they will just stand still during daytime and not really wander around.

Additionally their regular wandering is also affected by this. If they are on an infinite plane of glass for example, they will just stand still during daytime and not really wander around.

Can confirm in 21w11a.

Can confirm in 1.17.1.

Can confirm for 1.20.1

Additionally, it may be important to know this actually happens naturally in the world and how I discovered the bug myself:

 

  • In Frozen Oceans, Polar Bears that naturally spawn in this biome will be subjugated to this bug. This is because they spawn on normal Ice blocks, which are transparent blocks, and will never wander about their biome, unless close to a solid block they can pathfind to. It almost makes them look like statues or props, which tarnishes the vibes of Frozen Oceans in my eyes.

A video of this behavior can be seen here, I think this part of the bug should be added to the made post.

[media]

Peter Zorn

(Unassigned)

Confirmed

Platform

Normal

Mob behaviour

Minecraft 18w14b, Minecraft 1.13.1, 1.16.3, 1.16.4, 20w51a, ..., 22w18a, 1.19.4, 23w12a, 1.20.1, 1.21.5

Retrieved