public class PrepareItemCraftEvent extends InventoryEvent
Event.Resulttransaction| Constructor | Description |
|---|---|
PrepareItemCraftEvent(CraftingInventory what,
InventoryView view,
boolean isRepair) |
| Modifier and Type | Method | Description |
|---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
CraftingInventory |
getInventory() |
Gets the primary Inventory involved in this transaction
|
Recipe |
getRecipe() |
Get the recipe that has been formed.
|
boolean |
isRepair() |
Check if this event was triggered by a tool repair operation rather
than a crafting recipe.
|
getEventName, isAsynchronousgetView, getViewerspublic PrepareItemCraftEvent(CraftingInventory what, InventoryView view, boolean isRepair)
public Recipe getRecipe()
public CraftingInventory getInventory()
InventoryEventgetInventory in class InventoryEventpublic boolean isRepair()
public HandlerList getHandlers()
getHandlers in class InventoryEventpublic static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.