public final class EntityShootBowEvent extends EntityEvent implements Cancellable
entity| Constructor and Description |
|---|
EntityShootBowEvent(Living shooter,
ItemStack bow,
Entity projectile,
double force) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
getBow() |
Living |
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 Living getEntity()
getEntity in class EntityEventpublic ItemStack getBow()
public Entity getProjectile()
public void setProjectile(Entity projectile)
public double getForce()
public void setForce(double force)
Copyright © 2021. All rights reserved.