mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +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
1 changed files with 14 additions and 0 deletions
|
@ -21,4 +21,18 @@ public interface EvokerFangs extends Entity {
|
||||||
* @param owner the {@link LivingEntity} which summoned the fangs
|
* @param owner the {@link LivingEntity} which summoned the fangs
|
||||||
*/
|
*/
|
||||||
void setOwner(@Nullable LivingEntity owner);
|
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 a new issue