Implemented animation events and made some event classes abstract.

This commit is contained in:
Luis C.M committed 2024-03-24 17:03:58 -05:00
1 parent 51d086285e
commit cd180e4520
6 files changed
+56 -2

No files matched your search

@@ -0,0 +1,8 @@
package noppes.npcs.api.entity;
import noppes.npcs.api.handler.data.IAnimationData;
public interface IAnimatable {
IAnimationData getAnimationData();
}
+1 -1
View File
@@ -13,7 +13,7 @@ import noppes.npcs.api.item.IItemStack;
import noppes.npcs.api.jobs.IJob;
import noppes.npcs.api.roles.IRole;
public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T>, IAnimatable {
/**
* @return Returns the current npcs size 1-30
*/
+1 -1
View File
@@ -13,7 +13,7 @@ import noppes.npcs.api.handler.data.ISound;
import noppes.npcs.api.item.IItemStack;
import noppes.npcs.api.overlay.ICustomOverlay;
public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T> {
public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>, IAnimatable {
/**
* @return Returns the displayed name of the player
*/