Mojira Archive
MC-103313

Hitbox of slime and magma cube is offset for some seconds

The bug

Mobs with multiple states have their hitboxs shifted when they spawn (except for the first basic state).

How to reproduce

  1. Press F3 + B to make hitboxes visible
  2. Use the following command
    /summon slime ~ ~ ~ {NoAI:1b,NoGravity:1b,Size:3}
    

    → The hitbox starts at the back of the baby animal, but then jumps into the middle.

Examples

Code analysis

Code analysis by Marcono1234 can be found in this comment.