接口 SpectralArrow
- 所有超级接口:
Arrow
,CommandSender
,Entity
,Metadatable
,Nameable
,Permissible
,Projectile
,ServerOperator
Represents a spectral arrow.
-
嵌套类概要
从接口继承的嵌套类/接口 org.bukkit.entity.Arrow
Arrow.PickupStatus
-
方法概要
修饰符和类型方法说明int
Returns the amount of time that this arrow will apply the glowing effect for.void
setGlowingTicks
(int duration) Sets the amount of time to apply the glowing effect for.从接口继承的方法 org.bukkit.entity.Arrow
getAttachedBlock, getKnockbackStrength, getPickupStatus, isCritical, isInBlock, setCritical, setKnockbackStrength, setPickupStatus
从接口继承的方法 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.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
-
方法详细资料
-
getGlowingTicks
int getGlowingTicks()Returns the amount of time that this arrow will apply the glowing effect for.- 返回:
- the glowing effect ticks
-
setGlowingTicks
void setGlowingTicks(int duration) Sets the amount of time to apply the glowing effect for.- 参数:
duration
- the glowing effect ticks
-