Details
-
Bug
-
Status: Reopened
-
Resolution: Unresolved
-
Minecraft 1.8.6, Minecraft 15w44b, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, 1.15.2, 20w20b, 20w51a, 21w03a, 1.16.5, 21w05b, 21w07a, 21w08b, 21w15a, 1.17.1, 1.18 Pre-release 5, 1.19
-
None
-
Confirmed
-
Entities
-
Low
Description
The bug
When you have any entity riding a vehicle it will always have the same y coordinate offset to the vehicle. This value seems to be "standardized" for players (about one Sixth of the player height).
If you have for now an entity with a smaller or higher hitbox riding the vehicle, it is placed wrong (see screenshots).
A "relatively" easy way to solved this would be just using something like this to get the offset:
relativePos = hitbox(vehicle).maxy - (1 / 6) * hitbox(rider).maxy
That might need to be adjusted as the top edge of the hitbox of a horse for example isn't its back.
How to reproduce
Summon a tall entity riding a horse
/summon horse ~ ~ ~ {Tame:1b,Passengers:[{id:enderman,NoAI:1b}]}
Attachments
Issue Links
- relates to
-
MC-76050 Donkeys/Mules have same hitbox as horses
- Open
-
MC-80877 Entity hitbox in vehicle does not become shortened
- Open
-
MC-20431 Player is floating above the saddle of a donkey
- Resolved
-
MC-184619 Piglins riding on other entities float
- Resolved
-
MC-242076 The skeleton of a spider jockey sits "inside" of spider model rather than on top of the spider
- Open