Package-level declarations
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();
});
Content copied to clipboard
Since
3.2.0
Types
Link copied to clipboard
Triggered when a hitbox is created.
Link copied to clipboard
Triggered when a model's hitbox is damaged.
Link copied to clipboard
An event called when an entity dismounts from a hit box.
Link copied to clipboard
Base contract for events associated with a HitBox.
Link copied to clipboard
Triggered when a player interacts with a model's hitbox at some position.
Link copied to clipboard
An event called when an entity mounts to a hit box.
Link copied to clipboard
Triggered when a hitbox is removed.