Class PrePylonCraftEvent
-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class PrePylonCraftEvent<T extends PylonRecipe> extends Event implements Cancellable
Called when a crafting recipe is started.
-
-
Constructor Summary
Constructors Constructor Description PrePylonCraftEvent(RecipeType<T> type, T recipe, PylonBlock block, Player player)PrePylonCraftEvent(RecipeType<T> type, T recipe, PylonBlock block)PrePylonCraftEvent(RecipeType<T> type, T recipe)
-
Method Summary
Modifier and Type Method Description final RecipeType<T>getType()final TgetRecipe()final PylonBlockgetBlock()final PlayergetPlayer()BooleanisCancelled()voidsetCancelled(Boolean cancel)HandlerListgetHandlers()final static HandlerListgetHandlerList()-
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous -
Methods inherited from class io.github.pylonmc.pylon.core.event.PrePylonCraftEvent
getHandlers, isCancelled, setCancelled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PrePylonCraftEvent
PrePylonCraftEvent(RecipeType<T> type, T recipe, PylonBlock block, Player player)
-
PrePylonCraftEvent
PrePylonCraftEvent(RecipeType<T> type, T recipe, PylonBlock block)
-
PrePylonCraftEvent
PrePylonCraftEvent(RecipeType<T> type, T recipe)
-
-
Method Detail
-
getType
final RecipeType<T> getType()
-
getBlock
final PylonBlock getBlock()
-
isCancelled
Boolean isCancelled()
-
setCancelled
void setCancelled(Boolean cancel)
-
getHandlers
HandlerList getHandlers()
-
getHandlerList
final static HandlerList getHandlerList()
-
-
-
-