接口 Fireball

所有超级接口:
CommandSender, Entity, Explosive, Metadatable, Nameable, Permissible, Projectile, ServerOperator
所有已知子接口:
DragonFireball, LargeFireball, SmallFireball, WitherSkull

public interface Fireball extends Projectile, Explosive
Represents a Fireball.
  • 方法详细资料

    • setDirection

      void setDirection(Vector direction)
      Fireballs fly straight and do not take setVelocity(...) well.
      参数:
      direction - the direction this fireball is flying toward
    • getDirection

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