Class PrepareCardCraftEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    
    public class PrepareCardCraftEvent
    extends PlayerEvent implements Cancellable
                        

    Called before an item is crafted in the Card Workbench.

    • Constructor Summary

      Constructors 
      Constructor Description
      PrepareCardCraftEvent(Player player, Array<ItemStack> matrix, ItemStack result)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Array<ItemStack> getMatrix() The matrix of items used to craft the item.
      final ItemStack getResult() The result of the crafting.
      final Unit setResult(ItemStack result) The result of the crafting.
      HandlerList getHandlers()
      Boolean isCancelled()
      Unit setCancelled(Boolean cancel)
      • Methods inherited from class org.bukkit.event.Event

        getEventName, isAsynchronous
      • Methods inherited from class org.bukkit.event.player.PlayerEvent

        getPlayer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait