ModelInteractAtEvent

Triggered when a player interacts with a model's hitbox at a specific position.

This event provides the precise interaction coordinates relative to the hitbox.

Since

2.0.0

Parameters

who

the player interacting

hitbox

the hitbox being interacted with

hand

the hand used for interaction

position

the relative position of the interaction

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun call(): @NotNull BetterModelEventBus.Result
Dispatches this event to the global event bus.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String