mojira.dev
MCPE-101235

Mob Pathfinding Doesn't Work With Custom Geometry

Mobs that try to pathfind over blocks with custom geometry just start jumping as if they're trying to get on top of a full block when there isn't one.

Update: 1.17.40.23:

  • Vertical pathfinding seems to be pretty good now, but narrow blocks appear to be a problem for pathfinding, see attached video

Update: 1.17.40.20:

  • In this update mobs can pathfind correctly over a custom slab (lower or upper), there still exists block heights that mobs won't pathfind over 2/3 for example.

Expected Behavior:

 - Mobs pathfind over and around custom geometry correctly and smoothly.

Actual Behavior:

 - Mobs start jumping up and down uncontrollably.

Steps To Reproduce:

  1. Download the attached pack

  2. Use the give command to obtain either 'grunt:mud' or 'grunt:basalt_slab'

  3. Place enough blocks to test pathfinding over

  4. Spawn a villager and a husk on opposite ends

  5. The husk will try to get to the villager but fail and end up jumping uncontrollably on the slab or just sit still on the mud

Linked issues

Attachments

Comments 7

Still affects 1.16.100.58

Still affects 1.16.100.59

Still affects 1.16.100.60

EveryCabbage884

Could you please attach the behavior pack you're using to this report?

Either Mud or Basalt Slab will show this bug, both are obtainable via give command.

The same issue affects vanilla dead corals and amethyst clusters. It is likely related to a block property that cannot be set for custom blocks (or for which there is no documentation), which makes pathfinding treat the block as if it were solid and full. It seems that this default "solid" property or a related one also causes MCPE-140364.

Vertical pathfinding seems to be pretty good now, but narrow blocks appear to be a problem for pathfinding, see attached video

Gruntastic

(Unassigned)

435577

Confirmed

Multiple

add-on, blocks, geometry, mobs, pathfinding

1.18.10.27 Beta, 1.18.10.26 Beta, 1.18.0.24 Beta, 1.18.0.22 Beta, 1.18.0.20 Beta, ..., 1.19.11 Hotfix, 1.19.63, 1.20.50.22 Preview, 1.20.50.23 Preview, 1.20.41 Hotfix

Retrieved