mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 14:14:48 +00:00
Revert "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 reverts commit 51d086285e.
This commit is contained in:
1 parent
9f59b8843e
commit
a2ad9c0d38
2 files changed
+8
-8
No files matched your search
@@ -20,10 +20,6 @@ public interface IAnimation {
|
||||
|
||||
String getName();
|
||||
|
||||
int tickDuration();
|
||||
|
||||
IAnimation setTickDuration(int tickDuration);
|
||||
|
||||
IAnimation setSpeed(float speed);
|
||||
|
||||
float getSpeed();
|
||||
@@ -32,6 +28,10 @@ public interface IAnimation {
|
||||
|
||||
byte isSmooth();
|
||||
|
||||
IAnimation useRenderTicks(boolean renderTicks);
|
||||
|
||||
boolean useRenderTicks();
|
||||
|
||||
IAnimation doWhileStanding(boolean whileStanding);
|
||||
|
||||
boolean doWhileStanding();
|
||||
|
||||
@@ -16,10 +16,6 @@ public interface IFrame {
|
||||
|
||||
IFrame setDuration(int duration);
|
||||
|
||||
int tickDuration();
|
||||
|
||||
IFrame setTickDuration(int tickDuration);
|
||||
|
||||
boolean isCustomized();
|
||||
|
||||
IFrame setCustomized(boolean customized);
|
||||
@@ -31,4 +27,8 @@ public interface IFrame {
|
||||
byte smoothType();
|
||||
|
||||
IFrame setSmooth(byte smooth);
|
||||
|
||||
IFrame useRenderTicks(boolean renderTicks);
|
||||
|
||||
boolean useRenderTicks();
|
||||
}
|
||||
Reference in new issue
Block a user