mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
#930: Add methods to get/set evoker fang attack delay
By: Jishuna <joshl5324@gmail.com>
This commit is contained in:
parent
cc40fd75d0
commit
9ea9164d2d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user