Mojira Archive
MCM-1306

custom_hit_test pivot doesn't rotate with the mob

Partner Rank: 3

Verification builds: 1.16.201
Regression builds: None (this component was introduced in 1.16)

Summary: Offsetting a custom_hit_test hitbox offsets it in world space, not in local entity space

Impact: This makes the X and Z offset of the pivot point almost entirely useless in real world applications. The component would in theory be useful to create custom hit boxes for more complex shaped entities, but with pivots not rotating with the entity that's not really possible.

Repro Steps:

  1. Install the attached behavior pack into a world
  2. Spawn a pig and try to hit it

Expected Results: The hitbox should always be in front of the pig.

Observed Results: The hitbox is always on the positive Z side of the entity in world space.

Screenshots/Videos attached: No

Unresolved

Jannis T

2021-02-27, 12:14 PM

2021-03-02, 07:38 PM

4

1

Future Release

-