类 ProjectileHitEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.ProjectileHitEvent
Called when a projectile hits an object
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.entity.EntityEvent
entity
-
构造器概要
构造器说明ProjectileHitEvent
(Projectile projectile) ProjectileHitEvent
(Projectile projectile, Block hitBlock) ProjectileHitEvent
(Projectile projectile, Entity hitEntity) ProjectileHitEvent
(Projectile projectile, Entity hitEntity, Block hitBlock) -
方法概要
修饰符和类型方法说明返回这个事件所涉及的实体.static HandlerList
Gets the block that was hit, if it was a block that was hit.Gets the entity that was hit, if it was an entity that was hit.从类继承的方法 org.bukkit.event.entity.EntityEvent
getEntityType
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
ProjectileHitEvent
-
ProjectileHitEvent
-
ProjectileHitEvent
-
ProjectileHitEvent
-
-
方法详细资料
-
getEntity
从类复制的说明:EntityEvent
返回这个事件所涉及的实体.原文: Returns the Entity involved in this event
- 覆盖:
getEntity
在类中EntityEvent
- 返回:
- 涉及这个事件的实体
-
getHitBlock
Gets the block that was hit, if it was a block that was hit.- 返回:
- hit block or else null
-
getHitEntity
Gets the entity that was hit, if it was an entity that was hit.- 返回:
- hit entity or else null
-
getHandlers
- 指定者:
getHandlers
在类中Event
-
getHandlerList
-