mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Add SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int)
This commit is contained in:
parent
b00bc638bc
commit
60289d346e
1 changed files with 20 additions and 1 deletions
|
@ -1,3 +1,22 @@
|
||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
public interface SpectralArrow extends Arrow {}
|
/**
|
||||||
|
* Represents a spectral arrow.
|
||||||
|
*/
|
||||||
|
public interface SpectralArrow extends Arrow {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the amount of time that this arrow will apply
|
||||||
|
* the glowing effect for.
|
||||||
|
*
|
||||||
|
* @return the glowing effect ticks
|
||||||
|
*/
|
||||||
|
int getGlowingTicks();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the amount of time to apply the glowing effect for.
|
||||||
|
*
|
||||||
|
* @param duration the glowing effect ticks
|
||||||
|
*/
|
||||||
|
void setGlowingTicks(int duration);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue