Class AnimUtils

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

public abstract class AnimUtils extends Object
  • 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