Files
Paper/paper-api/src/main/java/org/bukkit/entity/EvokerFangs.java
2023-11-09 06:36:02 +11:00

39 lines
848 B
Java

package org.bukkit.entity;
import org.jetbrains.annotations.Nullable;
/**
* Represents Evoker Fangs.
*/
public interface EvokerFangs extends Entity {
/**
* Gets the {@link LivingEntity} which summoned the fangs.
*
* @return the {@link LivingEntity} which summoned the fangs
*/
@Nullable
LivingEntity getOwner();
/**
* Sets the {@link LivingEntity} which summoned the fangs.
*
* @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);
}