public interface Fireball extends Projectile, Explosive
Modifier and Type | Method and Description |
---|---|
Vector |
getDirection()
Retrieve the direction this fireball is heading toward
|
void |
setDirection(Vector direction)
Fireballs fly straight and do not take setVelocity(...) well.
|
_INVALID_getShooter, _INVALID_setShooter, doesBounce, getShooter, setBounce, setShooter
getYield, isIncendiary, setIsIncendiary, setYield
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
getMetadata, hasMetadata, removeMetadata, setMetadata
void setDirection(Vector direction)
direction
- the direction this fireball is flying towardVector getDirection()
Copyright © 2014. All rights reserved.