mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 00:35:07 +00:00
Removed "render ticks" tick type. Instead, animations and frames can define a tick speed measured in milliseconds. Animations/frames using MC tick type will be 50ms (1000ms/20), and render ticks 20ms.
This commit is contained in:
1 parent
8acb2a25a0
commit
51d086285e
2 files changed
+8
-8
No files matched your search
@@ -20,6 +20,10 @@ public interface IAnimation {
|
||||
|
||||
String getName();
|
||||
|
||||
int tickDuration();
|
||||
|
||||
IAnimation setTickDuration(int tickDuration);
|
||||
|
||||
IAnimation setSpeed(float speed);
|
||||
|
||||
float getSpeed();
|
||||
@@ -28,10 +32,6 @@ public interface IAnimation {
|
||||
|
||||
byte isSmooth();
|
||||
|
||||
IAnimation useRenderTicks(boolean renderTicks);
|
||||
|
||||
boolean useRenderTicks();
|
||||
|
||||
IAnimation doWhileStanding(boolean whileStanding);
|
||||
|
||||
boolean doWhileStanding();
|
||||
|
||||
Reference in new issue
Block a user