类 PrepareItemCraftEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
org.bukkit.event.inventory.PrepareItemCraftEvent
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.inventory.InventoryEvent
transaction
-
构造器概要
-
方法概要
修饰符和类型方法说明static HandlerList
获取此事件涉及的主要物品栏.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.从类继承的方法 org.bukkit.event.inventory.InventoryEvent
getView, getViewers
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
PrepareItemCraftEvent
-
-
方法详细资料
-
getRecipe
Get the recipe that has been formed. If this event was triggered by a tool repair, this will be a temporary shapeless recipe representing the repair.- 返回:
- The recipe being crafted.
-
getInventory
从类复制的说明:InventoryEvent
获取此事件涉及的主要物品栏.原文:Gets the primary Inventory involved in this transaction
- 覆盖:
getInventory
在类中InventoryEvent
- 返回:
- The crafting inventory on which the recipe was formed.
-
isRepair
public boolean isRepair()Check if this event was triggered by a tool repair operation rather than a crafting recipe.- 返回:
- True if this is a repair.
-
getHandlers
- 覆盖:
getHandlers
在类中InventoryEvent
-
getHandlerList
-