Entity riding vehicle has always same offset
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}]}
Linked Issues
relates to8
Created Issue:
Entity riding vehicle has always same position in vehicle
Relates to:
When you have any entity riding a vehicle it will always have the same relative position 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
Relates to:
When you have any entity riding a vehicle it will always have the same relative position 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).maxyThat might need to be adjusted as the top edge of the hitbox the horse for example isn't its back.
Entity riding vehicle has always sameposition in vehicleEntity riding vehicle has always same offset
Relates to:
When you have any entity riding a vehicle it will always have the same relative position 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).maxyThat might need to be adjusted as the top edge of the hitbox the horse for example isn't its back.
Relates to:
When you have any entity riding a vehicle it will always have the same relative position 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).maxyThat might need to be adjusted as the top edge of the hitbox
thehorse for example isn't its back.Relates to:
When you have any entity riding a vehicle it will always have the same relative position 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).maxyThat might need to be adjusted as the top edge of the hitbox of a horse for example isn't its back.
Relates to:
When you have any entity riding a vehicle it will always have the same relative position 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).maxyThat might need to be adjusted as the top edge of the hitbox of a horse for example isn't its back.
When you have any entity riding a vehicle it will always have the same relative position 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).maxyThat might need to be adjusted as the top edge of the hitbox of a horse for example isn't its back.
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).maxyThat 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}]}
relates to
relates to
relates to
relates to
relates to



Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.
In 18w31a: I typed the shown command with pigs and chicken, which don't seem to have exactly the same offset, but for endermen the offset is the same as in the picture shown.
affects 20w20b
Affects 1.16.3
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w07a.
Can confirm in 1.16.5 and 21w08b.
Can confirm in 21w15a.
Can confirm in 1.19.
Can confirm in 1.19.2.