类 BlockDamageAbortEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockDamageAbortEvent
Called when a player stops damaging a Block.
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.block.BlockEvent
block
-
构造器概要
-
方法概要
修饰符和类型方法说明static @NotNull HandlerList
Gets the ItemStack for the item currently in the player's hand.Gets the player that stopped damaging the block involved in this event.从类继承的方法 org.bukkit.event.block.BlockEvent
getBlock
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
BlockDamageAbortEvent
-
-
方法详细资料
-
getPlayer
Gets the player that stopped damaging the block involved in this event.- 返回:
- The player that stopped damaging the block
-
getItemInHand
Gets the ItemStack for the item currently in the player's hand.- 返回:
- The ItemStack for the item currently in the player's hand
-
getHandlers
- 指定者:
getHandlers
在类中Event
-
getHandlerList
-