ModelInteractEvent

class ModelInteractEvent : PlayerEvent, Cancellable

Constructors

Link copied to clipboard
constructor(@NotNull who: Player, @NotNull hitBox: HitBox, @NotNull hand: ModelInteractEvent.Hand)

Types

Link copied to clipboard
enum Hand

Properties

Link copied to clipboard
val HANDLER_LIST: HandlerList

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
open fun getEventName(): @NotNull String
Link copied to clipboard
@NotNull
open fun getHandlerList(): HandlerList
Link copied to clipboard
@NotNull
open fun getHandlers(): HandlerList
Link copied to clipboard
fun getPlayer(): @NotNull Player
Link copied to clipboard
Link copied to clipboard
abstract fun isCancelled(): Boolean
Link copied to clipboard
abstract fun setCancelled(p: Boolean)