Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.entity.Arrow Interface Reference
Inheritance diagram for org.bukkit.entity.Arrow:
org.bukkit.entity.Projectile org.bukkit.entity.Entity org.bukkit.metadata.Metadatable

Public Member Functions

int getKnockbackStrength ()
 
void setKnockbackStrength (int knockbackStrength)
 
boolean isCritical ()
 
void setCritical (boolean critical)
 
- Public Member Functions inherited from org.bukkit.entity.Projectile
LivingEntity _INVALID_getShooter ()
 
ProjectileSource getShooter ()
 
void _INVALID_setShooter (LivingEntity shooter)
 
void setShooter (ProjectileSource source)
 
boolean doesBounce ()
 
void setBounce (boolean doesBounce)
 
- Public Member Functions inherited from org.bukkit.entity.Entity
Location getLocation ()
 
Location getLocation (Location loc)
 
void setVelocity (Vector velocity)
 
Vector getVelocity ()
 
boolean isOnGround ()
 
World getWorld ()
 
boolean teleport (Location location)
 
boolean teleport (Location location, TeleportCause cause)
 
boolean teleport (Entity destination)
 
boolean teleport (Entity destination, TeleportCause cause)
 
List< org.bukkit.entity.EntitygetNearbyEntities (double x, double y, double z)
 
int getEntityId ()
 
int getFireTicks ()
 
int getMaxFireTicks ()
 
void setFireTicks (int ticks)
 
void remove ()
 
boolean isDead ()
 
boolean isValid ()
 
Server getServer ()
 
abstract Entity getPassenger ()
 
abstract boolean setPassenger (Entity passenger)
 
abstract boolean isEmpty ()
 
abstract boolean eject ()
 
float getFallDistance ()
 
void setFallDistance (float distance)
 
void setLastDamageCause (EntityDamageEvent event)
 
EntityDamageEvent getLastDamageCause ()
 
UUID getUniqueId ()
 
int getTicksLived ()
 
void setTicksLived (int value)
 
void playEffect (EntityEffect type)
 
EntityType getType ()
 
boolean isInsideVehicle ()
 
boolean leaveVehicle ()
 
Entity getVehicle ()
 

Detailed Description

Represents an arrow.

Definition at line 6 of file Arrow.java.

Member Function Documentation

int org.bukkit.entity.Arrow.getKnockbackStrength ( )

Gets the knockback strength for an arrow, which is the KnockBack level of the bow that shot it.

Returns
the knockback strength value
boolean org.bukkit.entity.Arrow.isCritical ( )

Gets whether this arrow is critical.

Critical arrows have increased damage and cause particle effects.

Critical arrows generally occur when a player fully draws a bow before firing.

Returns
true if it is critical
void org.bukkit.entity.Arrow.setCritical ( boolean  critical)

Sets whether or not this arrow should be critical.

Parameters
criticalwhether or not it should be critical
void org.bukkit.entity.Arrow.setKnockbackStrength ( int  knockbackStrength)

Sets the knockback strength for an arrow.

Parameters
knockbackStrengththe knockback strength value

The documentation for this interface was generated from the following file: