mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 06:44:43 +00:00
Update IAnimationHandler.java
This commit is contained in:
1 parent
2b21264ada
commit
b8ba682e9d
1 file changed
+24
@@ -16,4 +16,28 @@ public interface IAnimationHandler {
|
||||
IAnimation get(int id);
|
||||
|
||||
IAnimation[] getAnimations();
|
||||
|
||||
/**
|
||||
* Get all built-in animations.
|
||||
* Built-in animations are read-only and cannot be modified or deleted.
|
||||
*/
|
||||
IAnimation[] getBuiltInAnimations();
|
||||
|
||||
/**
|
||||
* Get all animations (both built-in and user-created).
|
||||
*/
|
||||
IAnimation[] getAllAnimations();
|
||||
|
||||
/**
|
||||
* Check if an animation name is a built-in animation.
|
||||
*
|
||||
* @param name The animation name to check
|
||||
* @return true if this is a built-in animation
|
||||
*/
|
||||
boolean isBuiltIn(String name);
|
||||
|
||||
/**
|
||||
* Get names of all built-in animations.
|
||||
*/
|
||||
String[] getBuiltInAnimationNames();
|
||||
}
|
||||
Reference in new issue
Block a user