#930: Add methods to get/set evoker fang attack delay

By: Jishuna <joshl5324@gmail.com>
This commit is contained in:
Bukkit/Spigot 2023-11-09 06:36:02 +11:00
parent cc40fd75d0
commit 9ea9164d2d

View file

@ -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);
}