类 EnchantingAction
java.lang.Object
cn.nukkit.inventory.transaction.action.InventoryAction
cn.nukkit.inventory.transaction.action.NoOpIventoryAction
cn.nukkit.inventory.transaction.action.EnchantingAction
@Since("1.3.1.0-PN")
@PowerNukkitDifference(extendsOnlyInPowerNukkit=NoOpIventoryAction.class,
insteadOf=InventoryAction.class)
public class EnchantingAction
extends NoOpIventoryAction
-
字段概要
从类继承的字段 cn.nukkit.inventory.transaction.action.InventoryAction
sourceItem, targetItem
-
构造器概要
-
方法概要
从类继承的方法 cn.nukkit.inventory.transaction.action.NoOpIventoryAction
execute, onExecuteFail, onExecuteSuccess
从类继承的方法 cn.nukkit.inventory.transaction.action.InventoryAction
getCreationTime, getSourceItem, getTargetItem, onAddToTransaction, onPreExecute
-
构造器详细资料
-
EnchantingAction
-
-
方法详细资料
-
isValid
从类复制的说明:InventoryAction
Returns whether this action is currently valid. This should perform any necessary sanity checks.- 指定者:
isValid
在类中InventoryAction
- 参数:
source
- player- 返回:
- valid
-
getType
-
toString
- 覆盖:
toString
在类中InventoryAction
-