Package dev.kosmx.playerAnim.api
Class AnimUtils
java.lang.Object
dev.kosmx.playerAnim.api.AnimUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AnimationStackgetPlayerAnimLayer(Object player) Get the animation stack for a player entity on the client.
-
Field Details
-
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
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
-