mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 18:24:44 +00:00
Changed mixin to support players with animations better. Rotations and pivots are now saved as and use floats.
This commit is contained in:
1 parent
33e471871a
commit
80c4e90fef
2 files changed
+8
-8
No files matched your search
@@ -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);
|
||||
}
|
||||
@@ -10,13 +10,13 @@ public interface IFramePart{
|
||||
|
||||
IFramePart setPart(int partId);
|
||||
|
||||
int[] getRotations();
|
||||
float[] getRotations();
|
||||
|
||||
IFramePart setRotations(int[] rotation);
|
||||
IFramePart setRotations(float[] rotation);
|
||||
|
||||
int[] getPivots();
|
||||
float[] getPivots();
|
||||
|
||||
IFramePart setPivots(int[] pivot);
|
||||
IFramePart setPivots(float[] pivot);
|
||||
|
||||
boolean isCustomized();
|
||||
|
||||
|
||||
Reference in new issue
Block a user