public class PrepareItemCraftEvent extends InventoryEvent
Event.Result
transaction
コンストラクタと説明 |
---|
PrepareItemCraftEvent(CraftingInventory what,
InventoryView view,
boolean isRepair) |
修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
getView, getViewers
getEventName, isAsynchronous
public PrepareItemCraftEvent(CraftingInventory what, InventoryView view, boolean isRepair)
public Recipe getRecipe()
public CraftingInventory getInventory()
InventoryEvent
getInventory
クラス内 InventoryEvent
public boolean isRepair()
public HandlerList getHandlers()
getHandlers
クラス内 InventoryEvent
public static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.