Package kr.toxicity.model.api.event.hitbox


package kr.toxicity.model.api.event.hitbox
Contains events emitted by model hit boxes.

Hit box events cover creation, removal, interaction, damage, mount, and dismount notifications for the low-level hit box contracts exposed by the API. They are separated from generic model events so listeners can target collision and interaction behavior directly.

Example:

BetterModel.eventBus().subscribe(application, HitBoxInteractAtEvent.class, event -> {
    var hitBox = event.hitBox();
});
Since:
3.2.0