From b8ba682e9dd4e542a5ccf0de231ab5e5ebdad448 Mon Sep 17 00:00:00 2001 From: Kam Date: Wed, 28 Jan 2026 16:31:00 -0500 Subject: [PATCH] Update IAnimationHandler.java --- .../npcs/api/handler/IAnimationHandler.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/java/noppes/npcs/api/handler/IAnimationHandler.java b/java/noppes/npcs/api/handler/IAnimationHandler.java index af1ea9b..31dec79 100644 --- a/java/noppes/npcs/api/handler/IAnimationHandler.java +++ b/java/noppes/npcs/api/handler/IAnimationHandler.java @@ -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(); }