Commits

coll1234567 authored and md_5 committed 949ff21720f
#930: Add methods to get/set evoker fang attack delay
No tags

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

Modified
14 14 */
15 15 @Nullable
16 16 LivingEntity getOwner();
17 17
18 18 /**
19 19 * Sets the {@link LivingEntity} which summoned the fangs.
20 20 *
21 21 * @param owner the {@link LivingEntity} which summoned the fangs
22 22 */
23 23 void setOwner(@Nullable LivingEntity owner);
24 +
25 + /**
26 + * Get the delay in ticks until the fang attacks.
27 + *
28 + * @return the delay
29 + */
30 + int getAttackDelay();
31 +
32 + /**
33 + * Set the delay in ticks until the fang attacks.
34 + *
35 + * @param delay the delay, must be positive
36 + */
37 + void setAttackDelay(int delay);
24 38 }

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

Add shortcut