Files
Paper/paper-api/src/main/java/org/bukkit/entity/Fireball.java
2019-03-13 17:42:57 +11:00

27 lines
578 B
Java

package org.bukkit.entity;
import org.bukkit.util.Vector;
import org.jetbrains.annotations.NotNull;
/**
* Represents a Fireball.
*/
public interface Fireball extends Projectile, Explosive {
/**
* Fireballs fly straight and do not take setVelocity(...) well.
*
* @param direction the direction this fireball is flying toward
*/
public void setDirection(@NotNull Vector direction);
/**
* Retrieve the direction this fireball is heading toward
*
* @return the direction
*/
@NotNull
public Vector getDirection();
}