Mobs jump when moving onto several blocks with no collision or very low collision
Note: this issue is already tracked for pressure plates at MCPE-102812.
Steps to reproduce
- Make a 7 x 7 platform.
- Make a 4-block wide stripe down the middle of carpet, horizontal bottom trapdoors, dead corals, or fire. (Possibly some other blocks may trigger this bug but these are the only ones I tested.)
- Spawn a mob on one side of the stripe.
- On the other side of the stripe, spawn something the mob would want to move toward, e.g. another mob that it would attack, or for villagers, a bed and workstation.
Expected results
The mob would path across the carpet/corals normally, or would avoid the fire.
Actual results
The mob jumps when moving onto the carpet/corals/fire. (In the corals it may get stuck, in the fire it continues to jump around. There are other issues that impact pathing with coral and fire: MCPE-114407, MCPE-23835.)
Original description
Mobs tend to get confused and constantly jump when on no-collision blocks like flowers and grass. It also happens when the mob that it is riding dies but is still in it's death animation
How to reproduce?
- Spawn a mob
- Get it to pathfind over blocks like buttons, fire and carpets
- Observe.
Expectation:
The mob is suppose to be able to path through the no-collision blocks without having troubles
Observation:
They get confused and attempt to jump over it like it is a solid block
Possible fix:
Make the mob only jump if the block they are pathfinding to has a hitbox height of 0.8 blocks or more and has collision
2020-08-08, 05:51 PM
2022-01-09, 09:49 PM
2021-10-19, 07:44 PM
10
6
422474