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:
- Download the attached pack
- Use the give command to obtain either 'grunt:mud' or 'grunt:basalt_slab'
- Place enough blocks to test pathfinding over
- Spawn a villager and a husk on opposite ends
- 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
- Unresolved
Gruntastic- 17
- 4
- Confirmed
- 435577
- Multiple
- add-on blocks geometry mobs pathfinding
1.18.10.27 Beta - 1.20.41 Hotfix
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.17.40.23 Beta 1.17.40.20 Beta 1.17.30.24 Beta 1.17.30.23 Beta 1.17.30.22 Beta 1.17.30.21 Beta 1.17.30.20 Beta 1.17.11 Hotfix 1.17.20.22 Beta 1.17.20.21 Beta 1.17.10 1.17.10.23 Beta 1.17.1 Hotfix 1.17.10.20 Beta 1.17.0.58 Beta 1.17.0.56 Beta 1.17.0.54 Beta 1.17.0.52 Beta 1.17.0.50 Beta 1.16.230.56 Beta 1.16.230.54 Beta 1.16.220 1.16.230.50 Beta 1.16.220.52 Beta 1.16.220.51 Beta 1.16.220.50 Beta 1.16.210.61 Beta 1.16.210.60 Beta 1.16.210.59 Beta 1.16.210.58 Beta 1.16.210.57 Beta 1.16.210.56 Beta 1.16.210.55 Beta 1.16.210.54 Beta 1.16.210.53 Beta 1.16.210.51 Beta 1.16.210.50 Beta 1.16.200.57 Beta 1.16.200.55 Beta 1.16.200.53 Beta 1.16.200.52 Beta 1.16.200.51 Beta 1.16.100.60 Beta 1.16.100.58 Beta 1.16.100.57 Beta 1.16.100.59 Beta 1.16.201 Hotfix 1.16.210 1.16.221 Hotfix 1.17.0 1.18.2 Hotfix 1.18.30.33 Preview 1.18.12 Hotfix 1.19.20.24 Preview 1.19.11 Hotfix 1.19.63 1.20.50.22 Preview 1.20.50.23 Preview 1.20.41 Hotfix
Created Issue:
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.
Expected Behavior:
- Mobs pathfind over and around custom geometry correctly and smoothly.
Actual Behavior:
- Mobs start jumping up and down uncontrollably.
Steps To Reproduce:
- Create a block with custom geometry (a slab would be easiest)
- Place enough blocks to test pathfinding over
- Spawn a villager and a husk on opposite ends
- The husk will try to get to the villager but fail
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.
Expected Behavior:
- Mobs pathfind over and around custom geometry correctly and smoothly.
Actual Behavior:
- Mobs start jumping up and down uncontrollably.
Steps To Reproduce:
Create a block with custom geometry (a slab would be easiest)Place enough blocks to test pathfinding overSpawn a villager and a husk on opposite endsThe husk will try to get to the villager but failMobs 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.
Expected Behavior:
- Mobs pathfind over and around custom geometry correctly and smoothly.
Actual Behavior:
- Mobs start jumping up and down uncontrollably.
Steps To Reproduce:
- Download the attached pack
- Use the give command to obtain either 'grunt:mud' or 'grunt:basalt_slab'
- Place enough blocks to test pathfinding over
- Spawn a villager and a husk on opposite ends
- 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
is duplicated by
relates to
relates to
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.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:
- Download the attached pack
- Use the give command to obtain either 'grunt:mud' or 'grunt:basalt_slab'
- Place enough blocks to test pathfinding over
- Spawn a villager and a husk on opposite ends
- 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
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.2
0:
In this update mobscanpathfindcorrectly 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:
- Download the attached pack
- Use the give command to obtain either 'grunt:mud' or 'grunt:basalt_slab'
- Place enough blocks to test pathfinding over
- Spawn a villager and a husk on opposite ends
- 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
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:
- Download the attached pack
- Use the give command to obtain either 'grunt:mud' or 'grunt:basalt_slab'
- Place enough blocks to test pathfinding over
- Spawn a villager and a husk on opposite ends
- 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
Thank you for your report!
We're tracking this issue in MCPE-101235, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
@GoldenHelmet, as the videos show, the villagers can not find their way around or between the beds to get to their linked beds. I don't know if this issue occurred on previous Betas, because villagers were not going to their beds at night, see bug report MCPE-119736. If beds are a part of custom path finding bug (MCPE-101235), then I guess this may relate. I did not view a bed as a button or one of the blocks described in aforementioned bug report.
Cannot reproduce in 1.16.220: IMG_1095.MOV
Beds were included as an affected block on MCPE-100622 but I can’t reproduce that issue with beds either. MCPE-101235 does not apply to vanilla blocks.
Still affects 1.16.100.58
Still affects 1.16.100.59
Still affects 1.16.100.60
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