Interface Fireball

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

public interface Fireball
extends Projectile, Explosive
Represents a Fireball.
  • Method Details

    • 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