Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
ProjectileHitEvent.java
1 package org.bukkit.event.entity;
2 
5 
6 /**
7  * Called when a projectile hits an object
8  */
9 public class ProjectileHitEvent extends EntityEvent {
10  private static final HandlerList handlers = new HandlerList();
11 
12  public ProjectileHitEvent(final Projectile projectile) {
13  super(projectile);
14  }
15 
16  @Override
17  public Projectile getEntity() {
18  return (Projectile) entity;
19  }
20 
21  @Override
22  public HandlerList getHandlers() {
23  return handlers;
24  }
25 
26  public static HandlerList getHandlerList() {
27  return handlers;
28  }
29 
30 }