Class CreateCustomItemEvent
-
- All Implemented Interfaces:
public final class CreateCustomItemEvent extends Event
Called when a player did craft items what through custom crafting table.
-
-
Field Summary
Fields Modifier and Type Field Description public final static HandlerListHANDLER_LISTprivate final Playerplayerprivate final CraftViewviewprivate final Search.SearchResultresultprivate final BooleanshiftUsedprivate final BooleanisAsynchronousprivate final HandlerListhandlersprivate final StringeventName
-
Constructor Summary
Constructors Constructor Description CreateCustomItemEvent(Player player, CraftView view, Search.SearchResult result, Boolean shiftUsed, Boolean isAsync)
-
Method Summary
Modifier and Type Method Description final PlayergetPlayer()final CraftViewgetView()final Search.SearchResultgetResult()final BooleangetShiftUsed()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.CreateCustomItemEvent
getHandlers -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CreateCustomItemEvent
CreateCustomItemEvent(Player player, CraftView view, Search.SearchResult result, Boolean shiftUsed, Boolean isAsync)
- Parameters:
player- A crafterview- A view of crafting guiresult- A result of craftingshiftUsed- Shift-key used or not (since 5.0.isAsync- Called from async or not (since 5.0.
-
-
Method Detail
-
getResult
final Search.SearchResult getResult()
-
getShiftUsed
final Boolean getShiftUsed()
-
getHandlers
HandlerList getHandlers()
-
getHandlerList
final static HandlerList getHandlerList()
-
-
-
-