T - the entity type, needs to be an IAnimatedEntitypublic class AnimationPlayerAnimator<T extends net.minecraft.entity.Entity & IAnimatedEntity> extends java.lang.Object implements ITabulaModelAnimator<T>
NamedAnimation !!| Constructor and Description |
|---|
AnimationPlayerAnimator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finishAnimation(TabulaModel model,
T entity,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float rotationYaw,
float rotationPitch,
float partialTicks)
Callback to use if you want to change model parts **after animating**.
|
protected void |
prepareAnimation(TabulaModel model,
T entity,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float rotationYaw,
float rotationPitch,
float partialTicks)
Callback to use if you want to change model parts **before animating** but **after resetting to the default pose**.
|
void |
setRotationAngles(TabulaModel model,
T entity,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float rotationYaw,
float rotationPitch,
float scale) |
public void setRotationAngles(TabulaModel model, T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float rotationYaw, float rotationPitch, float scale)
setRotationAngles in interface ITabulaModelAnimator<T extends net.minecraft.entity.Entity & IAnimatedEntity>protected void prepareAnimation(TabulaModel model, T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float rotationYaw, float rotationPitch, float partialTicks)
setRotationAngles(TabulaModel, Entity, float, float, float, float, float, float)protected void finishAnimation(TabulaModel model, T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float rotationYaw, float rotationPitch, float partialTicks)
setRotationAngles(TabulaModel, Entity, float, float, float, float, float, float)