13
0
geforkt von Mirrors/Paper

Add SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int)

By: Matthew <stteg@hotmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2016-03-17 14:58:12 -04:00
Ursprung 7882375ea4
Commit 4920989f39

Datei anzeigen

@ -1,3 +1,22 @@
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);
}