Class CustomPrepareAnvilEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
com.destroystokyo.paper.event.inventory.PrepareResultEvent
org.bukkit.event.inventory.PrepareAnvilEvent
me.wolfyscript.customcrafting.listeners.customevents.CustomPrepareAnvilEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class CustomPrepareAnvilEvent
extends org.bukkit.event.inventory.PrepareAnvilEvent
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Field Summary
Fields inherited from class org.bukkit.event.inventory.InventoryEvent
transaction -
Constructor Summary
ConstructorsConstructorDescriptionCustomPrepareAnvilEvent(org.bukkit.inventory.InventoryView transaction, org.bukkit.inventory.ItemStack result, CustomAnvilRecipe recipe) -
Method Summary
Methods inherited from class org.bukkit.event.inventory.PrepareAnvilEvent
getInventory, getResult, setResultMethods inherited from class com.destroystokyo.paper.event.inventory.PrepareResultEvent
getHandlerList, getHandlersMethods inherited from class org.bukkit.event.inventory.InventoryEvent
getView, getViewersMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
CustomPrepareAnvilEvent
public CustomPrepareAnvilEvent(org.bukkit.inventory.InventoryView transaction, org.bukkit.inventory.ItemStack result, CustomAnvilRecipe recipe)
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled)- Specified by:
setCancelledin interfaceorg.bukkit.event.Cancellable
-
getRecipe
-