Package dev.kosmx.playerAnim.core.impl
Class AnimationProcessor
java.lang.Object
dev.kosmx.playerAnim.core.impl.AnimationProcessor
Tool to easily play animation to the player.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget3DTransform(PartKey partKey, TransformType type, Vec3f value0) @Nullable IAnimation@NotNull FirstPersonConfiguration@NotNull FirstPersonModeintbooleanisActive()booleanvoidsetTickDelta(float tickDelta) voidtick()
-
Constructor Details
-
AnimationProcessor
-
-
Method Details
-
tick
@Internal public void tick() -
isActive
public boolean isActive() -
get3DTransform
-
setTickDelta
@Internal public void setTickDelta(float tickDelta) -
getAnimation
-
isFirstPersonAnimationDisabled
public boolean isFirstPersonAnimationDisabled() -
getFirstPersonMode
-
getFirstPersonConfiguration
-
getBend
-
getPriority
public int getPriority()- Returns:
- Priority of the currently active animation, returns 0 if there are none.
-