-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.10.2, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.13, Minecraft 1.13.1, 20w48a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 1.19.3, 1.19.4 Pre-release 3, 1.21.3, 24w45a
-
Confirmed
-
Mob behaviour
The bug
Ridden mobs use the path of the riding entity with a fixed and rather high speed which might be twice as high as its own speed. The expected behavior might be that the mob uses its speed instead.
This can be seen for example with spider jockeys or skeleton traps.
How to reproduce
- Summon for example a skeleton riding a spider
/summon spider ~ ~ ~ {Passengers:[{id:"skeleton"}]}
- Switch to Survival mode
→ You will see that the spider chases you faster than normal
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.entity.EntityLiving.updateEntityActionState() sets the path of the ridden entity to the path of the riding entity with a fixed speed of 1.5.