setHitboxContactCallback
Sets the callback to be triggered when a player contacts the hitbox of this entity. This allows for the execution of custom behavior when a hitbox interaction event occurs.
Return
the current instance of ModeledEntity for method chaining.
Parameters
callback
the callback function to handle hitbox contact events. The callback should implement ModeledEntityHitboxContactCallback, which provides the player involved in the contact and the current entity.