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, setResult
Methods inherited from class com.destroystokyo.paper.event.inventory.PrepareResultEvent
getHandlerList, getHandlers
Methods inherited from class org.bukkit.event.inventory.InventoryEvent
getView, getViewers
Methods 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:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled)- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getRecipe
-