Hitboxes using minecraft:custom_hit_test don't react to projectiles if too far away from the center of the entity
Partner Rank: 2
Verification builds: 1.18.12
Summary:
Entity hitboxes using the minecraft:custom_hit_test component don't don't react to projectiles if the projectile collides with the hit test more than about a block away from the entity's center.
Impact:
Issue affects a currently in-development map. This may have a major effect on reviews, players are unable to play the map correctly.
Repro Steps:
- Open provided world.
- The pig entity has been modified to have a 5x5x5 hit test around the entity. Punch and throw snowballs to see the effect.
Observed Results:
Punches always land no matter where in the hit test they are. Snowballs only hit in roughly a 1x1 area around the entity's center.
Expected Results:
Punches and Projectiles should always hit regardless of where they are in the hit test.
Screenshots/Videos attached: No
Regression Build:
No regression build