Commits

Matthew Steglinski authored and md_5 committed 60289d346ec
Add SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int)
No tags

src/main/java/org/bukkit/entity/SpectralArrow.java

Modified
1 1 package org.bukkit.entity;
2 2
3 -public interface SpectralArrow extends Arrow {}
3 +/**
4 + * Represents a spectral arrow.
5 + */
6 +public interface SpectralArrow extends Arrow {
7 +
8 + /**
9 + * Returns the amount of time that this arrow will apply
10 + * the glowing effect for.
11 + *
12 + * @return the glowing effect ticks
13 + */
14 + int getGlowingTicks();
15 +
16 + /**
17 + * Sets the amount of time to apply the glowing effect for.
18 + *
19 + * @param duration the glowing effect ticks
20 + */
21 + void setGlowingTicks(int duration);
22 +}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut