The entity component "minecraft:custom_hit_test" does not update the hitboxes regularly.
Partner Rank: 2
Partner Team Reporting: Starfish Studios
Verification builds: 1.16.40.02, build 4645976/1.16.200.52, build 4900268
Summary:
The entity component "minecraft:custom_hit_test" does not update all the entity hitboxes regularly when this component is added while the entity is already alive, until the game is reopened.
Impact:
This prevents entities from changing their hitboxes and updating them correctly when changing the entity's "minecraft:custom_hit_test" component through component groups. Resulting in an entity with multiple hitboxes when trying to update the hitbox that the entity already owned.
Repro Steps:
- Join a world using a mcbuild.
- Enable the drawing bounding boxes /bounds.
- Summon a baby hoglin /summon minecraft:hoglin ~ ~ ~ spawn_baby.
- Give yourself some fungus /give @s crimson_fungus 8.
- Feed the baby hoglin until it grows up.
Observed Results:
When growing up, the baby hoglin adds a larger hitbox, but does not remove its baby hitbox. If you close the world and reopen or spawn a adult hoglin, it won't have its little hitbox.
Expected Results:
The old hitbox must be removed immediately since the old component was removed and a new one added.
Screenshots/Videos attached: Yes.
Attached a hitbox from a normal adult hoglin and another from a baby hoglin that was recently grown into an adult.
Regression Builds:
Never worked properly since added.