Interface HitBoxEvent

All Superinterfaces:
ModelEvent
All Known Implementing Classes:
HitBoxCreateEvent, HitBoxDamagedEvent, HitBoxDismountEvent, HitBoxInteractAtEvent, HitBoxInteractEvent, HitBoxMountEvent, HitBoxRemoveEvent

public interface HitBoxEvent extends ModelEvent
Base contract for events associated with a HitBox.
Since:
2.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull HitBox
    Returns the target hitbox of this event.

    Methods inherited from interface kr.toxicity.model.api.event.ModelEvent

    call
  • Method Details

    • getHitBox

      @NotNull @NotNull HitBox getHitBox()
      Returns the target hitbox of this event.
      Returns:
      target hitbox
      Since:
      2.1.0