mojira.dev
MC-278025

Riding point of interaction entities with default height is wrong

Observed behaviour

Passengers of an interaction entity with a default height tag are positioned as if height == 0, despite the default being 1.0 blocks.

How to reproduce

  • Summon an interaction entity

  • Summon another entity and use /ride to make it ride the interaction

  • => It's not positioned ontop of the entity, but inside it.

(Even setting the height manually to 1.0 doesn't change anything, because the value doesn't change. You need to first change it to a different value and then back to 1.0 to achieve the expected result.)

Note: I just found out that the riding point also corrects itself when any NBT for the interaction entity is updated, such as the width.

Linked issues

Attachments

Comments 5

Are you able to provide commands that can be used? What, for example, is an interaction entity in this instance?

All commands are shown in the attached clip. An interaction entity is an entity type called "minecraft:interaction" that has an interactable hitbox and dynamic height and width.

  • /summon minecraft:interaction

  • /execute summon minecraft:villager run ride @s mount @e[type=minecraft:interaction,sort=nearest,limit=1]

  • /data modify entity @e[type=minecraft:interaction,sort=nearest,limit=1] height set value <value>

Thank you for your report!
We suspect that this does not occur in the latest version of Minecraft.

Is this issue present in the latest version of Minecraft?

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Can still recreate in 1.21.6

Confirmed in 1.21.8. Also, if I recall correctly, the “eyeline” height being at 0 used to be the default behavior no matter what the interaction’s width and height were. Personally I would consider the current behavior after changing width and height to be bugged: it should just always be at 0. (This makes it very convenient for “bundling” entities together by making things ride an interaction: the hitbox of the interaction should not affect the riding height of the entities, because often times it’s convenient to have entities inside the interaction.)

SilicatYT

(Unassigned)

Confirmed

Platform

Low

Commands, Entities

24w44a, 1.21.3, 1.21.6

Retrieved