Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.entity.Explosive Interface Reference
Inheritance diagram for org.bukkit.entity.Explosive:
org.bukkit.entity.Entity org.bukkit.metadata.Metadatable org.bukkit.entity.Fireball org.bukkit.entity.TNTPrimed org.bukkit.entity.LargeFireball org.bukkit.entity.SmallFireball org.bukkit.entity.WitherSkull

Public Member Functions

void setYield (float yield)
 
float getYield ()
 
void setIsIncendiary (boolean isIncendiary)
 
boolean isIncendiary ()
 
- 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

A representation of an explosive entity

Definition at line 6 of file Explosive.java.

Member Function Documentation

float org.bukkit.entity.Explosive.getYield ( )

Return the radius or yield of this explosive's explosion

Returns
the radius of blocks affected
boolean org.bukkit.entity.Explosive.isIncendiary ( )

Return whether or not this explosive creates a fire when exploding

Returns
true if the explosive creates fire, false otherwise
void org.bukkit.entity.Explosive.setIsIncendiary ( boolean  isIncendiary)

Set whether or not this explosive's explosion causes fire

Parameters
isIncendiaryWhether it should cause fire
void org.bukkit.entity.Explosive.setYield ( float  yield)

Set the radius affected by this explosive's explosion

Parameters
yieldThe explosive yield

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