mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 02:34:43 +00:00
Animation events API changes
This commit is contained in:
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();
|
||||
}
|
||||
Reference in new issue
Block a user