org.bukkit.entity
Interface Fireball

All Superinterfaces:
Entity, Explosive, Metadatable, Projectile
All Known Subinterfaces:
LargeFireball, SmallFireball, WitherSkull

public interface Fireball
extends Projectile, Explosive

Represents a Fireball.


Method Summary
 Vector getDirection()
          Retrieve the direction this fireball is heading toward
 void setDirection(Vector direction)
          Fireballs fly straight and do not take setVelocity(...) well.
 
Methods inherited from interface org.bukkit.entity.Projectile
doesBounce, getShooter, setBounce, setShooter
 
Methods inherited from interface org.bukkit.entity.Entity
eject, 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, teleport
 
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
 
Methods inherited from interface org.bukkit.entity.Explosive
getYield, isIncendiary, setIsIncendiary, setYield
 
Methods inherited from interface org.bukkit.entity.Entity
eject, 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, teleport
 
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
 

Method Detail

setDirection

void setDirection(Vector direction)
Fireballs fly straight and do not take setVelocity(...) well.

Parameters:
direction - the direction this fireball is flying toward

getDirection

Vector getDirection()
Retrieve the direction this fireball is heading toward

Returns:
the direction


Copyright © 2013. All Rights Reserved.