mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-18 02:15:14 +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();
|
||||
|
||||
@@ -16,6 +16,10 @@ public interface IFrame {
|
||||
|
||||
IFrame setDuration(int duration);
|
||||
|
||||
int tickDuration();
|
||||
|
||||
IFrame setTickDuration(int tickDuration);
|
||||
|
||||
boolean isCustomized();
|
||||
|
||||
IFrame setCustomized(boolean customized);
|
||||
@@ -27,8 +31,4 @@ public interface IFrame {
|
||||
byte smoothType();
|
||||
|
||||
IFrame setSmooth(byte smooth);
|
||||
|
||||
IFrame useRenderTicks(boolean renderTicks);
|
||||
|
||||
boolean useRenderTicks();
|
||||
}
|
||||
Reference in new issue
Block a user