Interactions with entity while riding them is not working when looking at another entity
Partner Rank: 4
Verification builds: tested on version 1.16.220 and below on Win10
Partner Team Reporting: Owls Cubed
Summary: Interactions with entity while riding them is not working when looking at another entity
Impact: This makes it much harder to implement interactions with entity while you riding them. And also makes it inconsistent since this bug occurs only when looking at the entity that spawned after the entity you are riding.
Repro Steps:
- Install the provided mcworld(it has small addon in it)
- Spawn "Test Cow" entity first and ride it. While riding it you can interact with it by clicking anywhere with a blaze rod in hand(the cow will make a "pop" sound and become small for a second.)
- Now Spawn a Zombie(any other entity will also trigger this bug) like shown on a sceen_3.jpg (any other position will work as well we just spawning hit there so it would be easier to click on him)
- While riding on the "Test Cow" entity position you camera so it would be kind of like on screen_4.jpg and then try to interact with the "Test Cow" like in the step 2. Now Interaction will not fire as long as you looking at the hitbox of the Zombie even tho Zombie has no valid interactions or anything like that. This i think should be considered a bug.
- Now onto the second part of this bug. kill both Zombie and "Test Cow" entity and spawn another Zombie in the place of the old one. Now spawn the "Test Cow" entity an repeat step 4. As you will notice this time interaction will fire even though you are looking at the zombie.
Screenshots/Videos attached: yes
Notes: Not only this bug prevents you from interacting with entity you rid in in a way that would be expected it also has an inconsistency that makes this bug not occur if the second entity(Zombie in our case) would spawn before the entity we are riding in.