接口 Fireball
- 所有超级接口:
CommandSender,Entity,Explosive,Metadatable,Nameable,Permissible,Projectile,ServerOperator
- 所有已知子接口:
DragonFireball,LargeFireball,SmallFireball,WitherSkull
Represents a Fireball.
-
方法概要
修饰符和类型方法说明Retrieve the direction this fireball is heading towardvoidsetDirection(Vector direction) Fireballs fly straight and do not take setVelocity(...) well.从接口继承的方法 org.bukkit.command.CommandSender
getName, sendMessage, sendMessage从接口继承的方法 org.bukkit.entity.Entity
addPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, teleport, teleport, teleport, teleport从接口继承的方法 org.bukkit.entity.Explosive
getYield, isIncendiary, setIsIncendiary, setYield从接口继承的方法 org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata从接口继承的方法 org.bukkit.Nameable
getCustomName, setCustomName从接口继承的方法 org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment从接口继承的方法 org.bukkit.entity.Projectile
doesBounce, getShooter, setBounce, setShooter从接口继承的方法 org.bukkit.permissions.ServerOperator
isOp, setOp
-
方法详细资料
-
setDirection
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
-