Mojira Archive
MC-104650

Mobs use path of riding entity with fixed and pretty high speed

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

  1. Summon for example a skeleton riding a spider
    /summon spider ~ ~ ~ {Passengers:[{id:"skeleton"}]}
    
  2. 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.

Unresolved

Marcono1234

Camersauce

2016-06-26, 03:10 AM

2024-11-08, 12:31 PM

10

12

Confirmed

Mob behaviour

fast, passengers, path, riding, speed, spider-jockey

Minecraft 1.10.2 - 24w45aMinecraft 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

-