Class AttackAnimationRegistry

java.lang.Object
com.pixelmonmod.pixelmon.api.attackAnimations.AttackAnimationRegistry

public class AttackAnimationRegistry extends Object
Registry for all AttackAnimations for Attacks. During preInit, animation name and instance should be added to animations. If they are properly added during preInit, they can be added to the move JSONs and smoothly deserialize.
Since:
April 23, 2018
  • Field Details

  • Constructor Details

    • AttackAnimationRegistry

      public AttackAnimationRegistry()
  • Method Details

    • getKeyForAnimation

      public static String getKeyForAnimation(AttackAnimation animation)
      Gets the key for the given animation.