mojira.dev
MC-156022

Mobs' pathfinding breaks when on waterlogged top slabs

The bug

Entities have difficultly pathfinding when standing on waterlogged top slabs.

Similarly to MC-136318, the mobs will stop moving and spin when on top of a waterlogged block. In 1.14.4 Pre-Release 2, the pathfinding was fixed for most waterlogged blocks. However, the pathfinding is still bugged if the block is the top half of a waterlogged slab.

How to reproduce

  1. Run the following command:

    /fill ~10 ~-1 ~10 ~-10 ~-1 ~-10 minecraft:cut_copper_slab[waterlogged=true,type=top]
  2. Summon a cow on top of the cut copper slabs

  3. Attack the cow

Observed behavior

The cow does not panic; it has difficulty pathfinding while on waterlogged top slabs.

Expected behavior

The cow would panic; Entities would not have difficultly pathfinding while on waterlogged top slabs.

Linked issues

Attachments

Comments

migrated

Confirmed for 19w34a

migrated

Affects 19w38b

migrated

Affects 19w42a

migrated

Affects 20w12a

migrated

Affects 20w13a.

migrated

Affects 20w13b

migrated

still present in 20w16a

migrated

If there's carpet on top of the waterlogged halfslap, it completely stops the mobs pathfinding and they will stand completely still.

migrated

I'm not able to reproduce this any longer in snapshot 20w20a.

[Mod] LateLag

Can someone else confirm that it's no longer occurring?

migrated

I still see this on 1.16.4. It also seems to prevent villagers from breeding or using a work block

Hostile mob pathfinding: https://www.youtube.com/watch?v=UweKHv-XSn8

Avoma

Sam Carlberg

In that video, you were using Optifine, therefore making your statement invalid. I can confirm that this issue no longer occurs in 20w51a. Mobs have no trouble pathfinding over waterlogged upper slabs.

[Mod] LateLag

Can confirm that some part of it still occurs. They can move just fine, but they might start spinning randomly.

Avoma

Can confirm in 1.17.

Avoma

Can confirm in 1.17.1.

Avoma

Here are some steps on how to go about reproducing this. I've also attached a video demonstrating this issue.

[media]

The Bug:

Entities have difficultly pathfinding when standing on waterlogged top slabs.

Steps to Reproduce:

  • Summon some waterlogged top slabs beneath you.

/fill ~10 ~-1 ~10 ~-10 ~-1 ~-10 minecraft:cut_copper_slab[waterlogged=true,type=top]
  • Summon a cow on top of the slabs.

  • Attack the cow and watch its behavior closely.

  • Take note as to whether or not the cow panics upon being attacked.

Observed Behavior:

Entities have difficultly pathfinding when standing on waterlogged top slabs.

Expected Behavior:

Entities would not have difficultly pathfinding when standing on waterlogged top slabs.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

migrated

I can confirm in 23w05a

migrated

In 23w32a

There's also an issue with hostile mob pathfinding to a player who is standing on waterlogged top slabs, where they take an unnecessarily long path to them instead of a direct one

himazinn_Japan

Can confirm in 24w45a.

Minecraft386882

Confirmed in 1.21.3

migrated

(Unassigned)

Confirmed

Platform

Normal

Mob behaviour

Minecraft 1.14.4 Pre-Release 2, 1.14.4, 19w34a, 19w38b, 19w42a, ..., 1.19.3, 23w05a, 23w32a, 1.21.3, 24w46a

Retrieved