-
Bug
-
Resolution: Fixed
-
Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w38a, Minecraft 16w39b, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 17w17b, Minecraft 17w18a, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4
-
Confirmed
-
Entities, Hitboxes
The bug
Mobs with multiple states have their hitboxs shifted when they spawn (except for the first basic state).
How to reproduce
- Press F3 + B to make hitboxes visible
- 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
- Magma Cube: Magma Cube Hitbox Problem (1).mp4 and Magma Cube Hitbox Problem (2).mp4
- Pufferfish: Pufferfish Hitbox Problem.mp4
- Slime: Slime Hitbox Problem.mp4
Code analysis
Code analysis by Marcono1234 can be found in this comment.
- is duplicated by
-
MC-94385 Newly spawned slimes' hitboxes are temporarily offset
- Resolved
-
MC-107155 Hitbox of small armor stand is offset for some seconds
- Resolved
-
MC-107213 Baby horse hitbox is offset right after spawn
- Resolved
-
MC-148203 Mobs with multiple states have their hitboxes shifted when spawning (except for the first state)
- Resolved
- relates to
-
MC-124652 Llama has incorrect hitbox unless it is reloaded
- Resolved