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:
luisc committed 2024-03-23 23:34:00 -05:00
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();