CraftInputInterruptEvent

class CraftInputInterruptEvent(val interrupter: Player, isAsync: Boolean = false) : Event

Called when a player interacts with craft input slots or closes the CraftUI while a craft process (search or result generation) is in progress, causing the ongoing process to be interrupted.

Since

5.0.21

Parameters

interrupter

The player who caused the interruption

isAsync

Called from async or not

Constructors

Link copied to clipboard
constructor(interrupter: Player, isAsync: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:NotNull
open val eventName: @NotNull String
Link copied to clipboard
open override val handlers: HandlerList
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
open override fun getHandlers(): HandlerList