public class EntityShootBowEvent extends EntityEvent implements Cancellable
entity| Constructor and Description |
|---|
EntityShootBowEvent(EntityLiving shooter,
Item bow,
Entity projectile,
double force) |
| Modifier and Type | Method and Description |
|---|---|
Item |
getBow() |
EntityLiving |
getEntity() |
double |
getForce() |
Entity |
getProjectile() |
void |
setForce(double force) |
void |
setProjectile(Entity projectile) |
isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic EntityShootBowEvent(EntityLiving shooter, Item bow, Entity projectile, double force)
public EntityLiving getEntity()
getEntity in class EntityEventpublic Item getBow()
public Entity getProjectile()
public void setProjectile(Entity projectile)
public double getForce()
public void setForce(double force)
Copyright © 2020. All rights reserved.