类 BlockDispenseArmorEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockDispenseEvent
org.bukkit.event.block.BlockDispenseArmorEvent
- 所有已实现的接口:
Cancellable
当一个可装备物品从某个方块发射出来并装备到附近的实体上时触发本事件.
如果本事件被取消, 那么装备将不会装备到目标实体上.
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.block.BlockEvent
block
-
构造器概要
构造器说明BlockDispenseArmorEvent
(@NotNull Block block, @NotNull ItemStack dispensed, @NotNull LivingEntity target) -
方法概要
从类继承的方法 org.bukkit.event.block.BlockDispenseEvent
getHandlerList, getHandlers, getItem, getVelocity, isCancelled, setCancelled, setItem, setVelocity
从类继承的方法 org.bukkit.event.block.BlockEvent
getBlock
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
BlockDispenseArmorEvent
-
-
方法详细资料
-
getTargetEntity
获取盔甲装备给的目标生物.原文:Get the living entity on which the armor was dispensed.
- 返回:
- 目标实体
-