Class CraftInputInterruptEvent
-
- All Implemented Interfaces:
public final class CraftInputInterruptEvent extends 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
-
-
Field Summary
Fields Modifier and Type Field Description public final static HandlerListHANDLER_LISTprivate final Playerinterrupterprivate final BooleanisAsynchronousprivate final HandlerListhandlersprivate final StringeventName
-
Constructor Summary
Constructors Constructor Description CraftInputInterruptEvent(Player interrupter, Boolean isAsync)
-
Method Summary
Modifier and Type Method Description final PlayergetInterrupter()HandlerListgetHandlers()final static HandlerListgetHandlerList()-
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous -
Methods inherited from class io.github.sakaki_aruka.customcrafter.event.failure.CraftInputInterruptEvent
getHandlers -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getInterrupter
final Player getInterrupter()
-
getHandlers
HandlerList getHandlers()
-
getHandlerList
final static HandlerList getHandlerList()
-
-
-
-