Class AnimUtils

java.lang.Object
dev.kosmx.playerAnim.api.AnimUtils

public abstract class AnimUtils extends Object
  • Field Details

    • disableFirstPersonAnim

      @Deprecated public static boolean disableFirstPersonAnim
      Deprecated.
      Unused, use proper first person library instead will be removed after next release (1.1)
  • Constructor Details

    • AnimUtils

      public AnimUtils()
  • Method Details

    • getPlayerAnimLayer

      public static AnimationStack getPlayerAnimLayer(Object player) throws IllegalArgumentException
      Get the animation stack for a player entity on the client.

      Or you can use ((IPlayer) player).getAnimationStack();

      Parameters:
      player - The ClientPlayer object
      Returns:
      The players' animation stack
      Throws:
      IllegalArgumentException