Add additional APIs for Evoker / EvokerFangs

By: momothereal <momothereal.mc@gmail.com>
This commit is contained in:
Bukkit/Spigot
2016-11-19 18:53:34 +11:00
parent 3b75b77e6e
commit b57d05eeea
2 changed files with 55 additions and 2 deletions

View File

@@ -3,4 +3,19 @@ package org.bukkit.entity;
/**
* Represents Evoker Fangs.
*/
public interface EvokerFangs extends Entity { }
public interface EvokerFangs extends Entity {
/**
* Gets the {@link LivingEntity} which summoned the fangs.
*
* @return the {@link LivingEntity} which summoned the fangs
*/
LivingEntity getOwner();
/**
* Sets the {@link LivingEntity} which summoned the fangs.
*
* @param owner the {@link LivingEntity} which summoned the fangs
*/
void setOwner(LivingEntity owner);
}