org.bukkit.entity
public interface Arrow extends Projectile
| Modifier and Type | Method and Description | 
|---|---|
int | 
getKnockbackStrength()
Gets the knockback strength for an arrow, which is the
  
KnockBack level
 of the bow that shot it. | 
boolean | 
isCritical()
Gets whether this arrow is critical. 
 | 
void | 
setCritical(boolean critical)
Sets whether or not this arrow should be critical. 
 | 
void | 
setKnockbackStrength(int knockbackStrength)
Sets the knockback strength for an arrow. 
 | 
_INVALID_getShooter, _INVALID_setShooter, doesBounce, getShooter, setBounce, setShootereject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadataint getKnockbackStrength()
KnockBack level
 of the bow that shot it.void setKnockbackStrength(int knockbackStrength)
knockbackStrength - the knockback strength valueboolean isCritical()
Critical arrows have increased damage and cause particle effects.
Critical arrows generally occur when a player fully draws a bow before firing.
void setCritical(boolean critical)
critical - whether or not it should be criticalCopyright © 2014. All rights reserved.