Changed mixin to support players with animations better. Rotations and pivots are now saved as and use floats.

This commit is contained in:
Luis C.M committed 2023-01-17 13:08:09 -06:00
1 parent 33e471871a
commit 80c4e90fef
2 files changed
+8 -8

No files matched your search

+4 -4
View File
@@ -303,13 +303,13 @@ public abstract class AbstractNpcAPI {
public abstract IFramePart createPart(String name);
public abstract IFramePart createPart(String name, int[] rotation, int[] pivot);
public abstract IFramePart createPart(String name, float[] rotation, float[] pivot);
public abstract IFramePart createPart(String name, int[] rotation, int[] pivot, float speed, byte smooth);
public abstract IFramePart createPart(String name, float[] rotation, float[] pivot, float speed, byte smooth);
public abstract IFramePart createPart(int partId);
public abstract IFramePart createPart(int partId, int[] rotation, int[] pivot);
public abstract IFramePart createPart(int partId, float[] rotation, float[] pivot);
public abstract IFramePart createPart(int partId, int[] rotation, int[] pivot, float speed, byte smooth);
public abstract IFramePart createPart(int partId, float[] rotation, float[] pivot, float speed, byte smooth);
}