Class PreventDoubleCraftEvent
-
- All Implemented Interfaces:
public final class PreventDoubleCraftEvent extends Event
Called when a player attempts to start a new craft while a craft process (search or result generation) is already in progress, preventing the new attempt.
- Since:
5.0.21
-
-
Field Summary
Fields Modifier and Type Field Description public final static HandlerListHANDLER_LISTprivate final Playerplayerprivate final BooleanisAsynchronousprivate final HandlerListhandlersprivate final StringeventName
-
Constructor Summary
Constructors Constructor Description PreventDoubleCraftEvent(Player player, Boolean isAsync)
-
Method Summary
Modifier and Type Method Description final PlayergetPlayer()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.PreventDoubleCraftEvent
getHandlers -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getHandlers
HandlerList getHandlers()
-
getHandlerList
final static HandlerList getHandlerList()
-
-
-
-