public class ProjectileHitEvent extends EntityEvent implements Cancellable
entity| Constructor and Description |
|---|
ProjectileHitEvent(EntityProjectile entity) |
ProjectileHitEvent(EntityProjectile entity,
MovingObjectPosition movingObjectPosition) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlers() |
MovingObjectPosition |
getMovingObjectPosition() |
void |
setMovingObjectPosition(MovingObjectPosition movingObjectPosition) |
getEntitygetEventName, isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic ProjectileHitEvent(EntityProjectile entity)
public ProjectileHitEvent(EntityProjectile entity, MovingObjectPosition movingObjectPosition)
public static HandlerList getHandlers()
public MovingObjectPosition getMovingObjectPosition()
public void setMovingObjectPosition(MovingObjectPosition movingObjectPosition)
Copyright © 2020. All rights reserved.