Animation events API changes

This commit is contained in:
Luis C.M. committed 2025-01-22 15:31:11 -06:00
1 parent 17d165e628
commit 8ced18ec84
6 files changed
+66 -6

No files matched your search

@@ -2,6 +2,8 @@ package noppes.npcs.api.handler.data;
public interface IAnimation {
IAnimationData getParent();
IFrame currentFrame();
IFrame[] getFrames();
@@ -20,6 +22,10 @@ public interface IAnimation {
String getName();
int tickDuration();
IAnimation setTickDuration(int tickDuration);
IAnimation setSpeed(float speed);
float getSpeed();
@@ -28,10 +34,6 @@ public interface IAnimation {
byte isSmooth();
IAnimation useRenderTicks(boolean renderTicks);
boolean useRenderTicks();
IAnimation doWhileStanding(boolean whileStanding);
boolean doWhileStanding();
@@ -56,4 +58,6 @@ public interface IAnimation {
* Do not use this unless you know what you are changing. Dangerous to change.
*/
void setID(int id);
long getTotalTime();
}