Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Fireball.java
1 package org.bukkit.entity;
2 
3 import org.bukkit.util.Vector;
4 
5 /**
6  * Represents a Fireball.
7  */
8 public interface Fireball extends Projectile, Explosive {
9 
10  /**
11  * Fireballs fly straight and do not take setVelocity(...) well.
12  *
13  * @param direction the direction this fireball is flying toward
14  */
15  public void setDirection(Vector direction);
16 
17  /**
18  * Retrieve the direction this fireball is heading toward
19  *
20  * @return the direction
21  */
22  public Vector getDirection();
23 
24 }
void setDirection(Vector direction)