类 EnchantTransaction
java.lang.Object
cn.nukkit.inventory.transaction.InventoryTransaction
cn.nukkit.inventory.transaction.EnchantTransaction
-
字段概要
从类继承的字段 cn.nukkit.inventory.transaction.InventoryTransaction
actions, hasExecuted, inventories, source
-
构造器概要
-
方法概要
修饰符和类型方法说明void
addAction
(InventoryAction action) boolean
boolean
checkForEnchantPart
(List<InventoryAction> actions) boolean
execute()
int
getCost()
void
setCost
(int cost) void
setInputItem
(Item inputItem) void
setOutputItem
(Item outputItem) 从类继承的方法 cn.nukkit.inventory.transaction.InventoryTransaction
addInventory, callExecuteEvent, getActionList, getActions, getCreationTime, getInventories, getSource, hasExecuted, init, matchItems, sendInventories
-
构造器详细资料
-
EnchantTransaction
-
-
方法详细资料
-
canExecute
public boolean canExecute()- 覆盖:
canExecute
在类中InventoryTransaction
-
execute
public boolean execute()- 覆盖:
execute
在类中InventoryTransaction
-
addAction
- 覆盖:
addAction
在类中InventoryTransaction
-
checkForEnchantPart
-
getInputItem
-
setInputItem
-
getOutputItem
-
setOutputItem
-
getCost
-
setCost
-