Built In Animation System + Fixes to Defaults for Energy Projectile Abilities

This commit is contained in:
Kam committed 2026-01-28 16:31:26 -05:00
1 parent 7d2bba7b95
commit e73054a529
20 files changed
+622 -238

No files matched your search

@@ -163,7 +163,16 @@ public class NoppesUtilServer {
for (Animation animation : AnimationController.getInstance().animations.values()) {
map.put(animation.name, animation.id);
}
sendScrollData(player, map, EnumScrollData.OPTIONAL);
sendScrollData(player, map, EnumScrollData.ANIMATIONS);
}
public static void sendBuiltInAnimationData(EntityPlayerMP player) {
Map<String, Integer> map = new HashMap<String, Integer>();
for (String name : AnimationController.getInstance().builtInAnimations.keySet()) {
// Use -1 as a marker for built-in animations (they have no ID)
map.put(AnimationController.getInstance().builtInAnimations.get(name).getName(), -1);
}
sendScrollData(player, map, EnumScrollData.BUILTIN_ANIMATIONS);
}
public static void sendTagDataAll(EntityPlayerMP player) {