HitBoxListener
interface HitBoxListener
Listens for events related to a HitBox, such as damage, interaction, and mounting.
This interface allows for custom behavior when a hitbox is interacted with.
Since
1.15.2
Types
Link copied to clipboard
class Builder
Builder for HitBoxListener.
Functions
Link copied to clipboard
Creates a new builder for HitBoxListener.
Link copied to clipboard
Handles a hitbox event.
Link copied to clipboard
Creates a builder initialized with this listener's current handlers.