类 GrindstoneTransaction
java.lang.Object
cn.nukkit.inventory.transaction.InventoryTransaction
cn.nukkit.inventory.transaction.GrindstoneTransaction
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public class GrindstoneTransaction
extends InventoryTransaction
- 从以下版本开始:
- 2021-03-21
- 作者:
- joserobjr
-
字段概要
从类继承的字段 cn.nukkit.inventory.transaction.InventoryTransaction
actions, hasExecuted, inventories, source
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
addAction
(InventoryAction action) boolean
static boolean
checkForItemPart
(List<InventoryAction> actions) boolean
execute()
从类继承的方法 cn.nukkit.inventory.transaction.InventoryTransaction
addInventory, callExecuteEvent, getActionList, getActions, getCreationTime, getInventories, getSource, hasExecuted, init, matchItems, sendInventories
-
构造器详细资料
-
GrindstoneTransaction
@PowerNukkitOnly @Since("1.4.0.0-PN") public GrindstoneTransaction(Player source, List<InventoryAction> actions)
-
-
方法详细资料
-
addAction
- 覆盖:
addAction
在类中InventoryTransaction
-
canExecute
public boolean canExecute()- 覆盖:
canExecute
在类中InventoryTransaction
-
execute
public boolean execute()- 覆盖:
execute
在类中InventoryTransaction
-
getFirstItem
-
getSecondItem
-
getOutputItem
-
checkForItemPart
@PowerNukkitOnly @Since("1.4.0.0-PN") public static boolean checkForItemPart(List<InventoryAction> actions)
-