From 9ea9164d2db6aaa621f7d40ef5d81c04e0324302 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 9 Nov 2023 06:36:02 +1100 Subject: [PATCH] #930: Add methods to get/set evoker fang attack delay By: Jishuna --- .../main/java/org/bukkit/entity/EvokerFangs.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/entity/EvokerFangs.java b/paper-api/src/main/java/org/bukkit/entity/EvokerFangs.java index 7cc1dcdab9..7d5f9ccbd1 100644 --- a/paper-api/src/main/java/org/bukkit/entity/EvokerFangs.java +++ b/paper-api/src/main/java/org/bukkit/entity/EvokerFangs.java @@ -21,4 +21,18 @@ public interface EvokerFangs extends Entity { * @param owner the {@link LivingEntity} which summoned the fangs */ void setOwner(@Nullable LivingEntity owner); + + /** + * Get the delay in ticks until the fang attacks. + * + * @return the delay + */ + int getAttackDelay(); + + /** + * Set the delay in ticks until the fang attacks. + * + * @param delay the delay, must be positive + */ + void setAttackDelay(int delay); }