mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 17:14:44 +00:00
Get Animation ID and Delete Via ID
This commit is contained in:
1 parent
9a4fed3fd5
commit
ffe67e93f1
2 files changed
+11
No files matched your search
@@ -7,9 +7,13 @@ public interface IAnimationHandler {
|
||||
|
||||
void delete(String name);
|
||||
|
||||
void delete(int id);
|
||||
|
||||
boolean has(String name);
|
||||
|
||||
IAnimation get(String name);
|
||||
|
||||
IAnimation get(int id);
|
||||
|
||||
IAnimation[] getAnimations();
|
||||
}
|
||||
@@ -49,4 +49,11 @@ public interface IAnimation {
|
||||
int loop();
|
||||
|
||||
IAnimation save();
|
||||
|
||||
int getID();
|
||||
|
||||
/**
|
||||
* Do not use this unless you know what you are changing. Dangerous to change.
|
||||
*/
|
||||
void setID(int id);
|
||||
}
|
||||
Reference in new issue
Block a user