mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 11:24:44 +00:00
Animation overhaul, along with animation changes to the API.
This commit is contained in:
1 parent
1bff2eddfe
commit
33e471871a
10 files changed
+152
-180
No files matched your search
@@ -25,6 +25,9 @@ import noppes.npcs.api.entity.IEntity;
|
||||
import noppes.npcs.api.entity.IPlayer;
|
||||
import noppes.npcs.api.gui.ICustomGui;
|
||||
import noppes.npcs.api.handler.*;
|
||||
import noppes.npcs.api.handler.data.IAnimation;
|
||||
import noppes.npcs.api.handler.data.IFrame;
|
||||
import noppes.npcs.api.handler.data.IFramePart;
|
||||
import noppes.npcs.api.handler.data.ISound;
|
||||
import noppes.npcs.api.item.IItemStack;
|
||||
import noppes.npcs.api.overlay.ICustomOverlay;
|
||||
@@ -291,4 +294,22 @@ public abstract class AbstractNpcAPI {
|
||||
public abstract String millisToTime(long millis);
|
||||
|
||||
public abstract String ticksToTime(long ticks);
|
||||
|
||||
public abstract IAnimation createAnimation(String name);
|
||||
|
||||
public abstract IFrame createFrame(int duration);
|
||||
|
||||
public abstract IFrame createFrame(int duration, float speed, byte smooth);
|
||||
|
||||
public abstract IFramePart createPart(String name);
|
||||
|
||||
public abstract IFramePart createPart(String name, int[] rotation, int[] pivot);
|
||||
|
||||
public abstract IFramePart createPart(String name, int[] rotation, int[] 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, int[] rotation, int[] pivot, float speed, byte smooth);
|
||||
}
|
||||
Reference in new issue
Block a user