summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/SpectralArrow.java
blob: 1a32341c3f66784fda8b5614d3e44ef86c45aa74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.bukkit.entity;

/**
 * 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);
}