diff --git a/java/noppes/npcs/api/entity/IAnimal.java b/java/noppes/npcs/api/entity/IAnimal.java index b168ff8..6b5d2f2 100644 --- a/java/noppes/npcs/api/entity/IAnimal.java +++ b/java/noppes/npcs/api/entity/IAnimal.java @@ -20,6 +20,10 @@ public interface IAnimal extends IEntityLiving { */ boolean interact(IPlayer player); + void setFollowPlayer(IPlayer player); + + IPlayer followingPlayer(); + boolean isInLove(); void resetInLove(); diff --git a/java/noppes/npcs/api/entity/IEntityLiving.java b/java/noppes/npcs/api/entity/IEntityLiving.java index d46b3a3..c976a37 100644 --- a/java/noppes/npcs/api/entity/IEntityLiving.java +++ b/java/noppes/npcs/api/entity/IEntityLiving.java @@ -51,4 +51,6 @@ public interface IEntityLiving extends IEntityLivingBase IEntity getLeashedTo(); void setLeashedTo(IEntity entity, boolean sendPacket); + + boolean canBeSteered(); } diff --git a/java/noppes/npcs/api/entity/IEntityLivingBase.java b/java/noppes/npcs/api/entity/IEntityLivingBase.java index 31c635e..56ef7d7 100644 --- a/java/noppes/npcs/api/entity/IEntityLivingBase.java +++ b/java/noppes/npcs/api/entity/IEntityLivingBase.java @@ -1,7 +1,6 @@ package noppes.npcs.api.entity; import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.SharedMonsterAttributes; import noppes.npcs.api.IBlock; import noppes.npcs.api.IDamageSource; import noppes.npcs.api.IPos; @@ -62,6 +61,16 @@ public interface IEntityLivingBase extends IEntity extends IEntityLivingBase void closeOverlay(int id); IOverlayHandler getOverlays(); + + void setConqueredEnd(boolean conqueredEnd); + + boolean conqueredEnd(); }