public class PrepareItemCraftEvent extends InventoryEvent
Event.Resulttransaction| 构造器和说明 |
|---|
PrepareItemCraftEvent(CraftingInventory what,
InventoryView view,
boolean isRepair) |
| 限定符和类型 | 方法和说明 |
|---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
CraftingInventory |
getInventory()
获取此事件涉及的主要物品栏.
|
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.
|
getView, getViewersgetEventName, isAsynchronouspublic PrepareItemCraftEvent(CraftingInventory what, InventoryView view, boolean isRepair)
public Recipe getRecipe()
public CraftingInventory getInventory()
InventoryEvent原文:Gets the primary Inventory involved in this transaction
getInventory 在类中 InventoryEventpublic boolean isRepair()
public HandlerList getHandlers()
getHandlers 在类中 InventoryEventpublic static HandlerList getHandlerList()