@Environment(value=CLIENT) public class OcelotEntityModel<T extends Entity> extends AnimalModel<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
animationState |
protected ModelPart |
head |
protected ModelPart |
leftBackLeg |
protected ModelPart |
leftFrontLeg |
protected ModelPart |
lowerTail |
protected ModelPart |
rightBackLeg |
protected ModelPart |
rightFrontLeg |
protected ModelPart |
torso |
protected ModelPart |
upperTail |
child, handSwingProgress, ridinglayerFactory, textureHeight, textureWidth| Constructor and Description |
|---|
OcelotEntityModel(float scale) |
| Modifier and Type | Method and Description |
|---|---|
void |
animateModel(T entity,
float limbAngle,
float limbDistance,
float tickDelta) |
protected Iterable<ModelPart> |
getBodyParts() |
protected Iterable<ModelPart> |
getHeadParts() |
void |
setAngles(T entity,
float limbAngle,
float limbDistance,
float animationProgress,
float headYaw,
float headPitch) |
rendercopyStateToprotected final ModelPart leftBackLeg
protected final ModelPart rightBackLeg
protected final ModelPart leftFrontLeg
protected final ModelPart rightFrontLeg
protected final ModelPart upperTail
protected final ModelPart lowerTail
protected final ModelPart head
protected final ModelPart torso
protected int animationState
protected Iterable<ModelPart> getHeadParts()
getHeadParts in class AnimalModel<T extends Entity>protected Iterable<ModelPart> getBodyParts()
getBodyParts in class AnimalModel<T extends Entity>public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
setAngles in class EntityModel<T extends Entity>public void animateModel(T entity, float limbAngle, float limbDistance, float tickDelta)
animateModel in class EntityModel<T extends Entity>