Package org.bukkit.event.entity
Class ProjectileHitEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.ProjectileHitEvent
- Direct Known Subclasses:
ExpBottleEvent
,PotionSplashEvent
public class ProjectileHitEvent extends EntityEvent
Called when a projectile hits an object
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ProjectileHitEvent(Projectile projectile)
-
Method Summary
Modifier and Type Method Description Projectile
getEntity()
Returns the Entity involved in this eventstatic HandlerList
getHandlerList()
HandlerList
getHandlers()
-
Constructor Details
-
Method Details
-
getEntity
Description copied from class:EntityEvent
Returns the Entity involved in this event- Overrides:
getEntity
in classEntityEvent
- Returns:
- Entity who is involved in this event
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-