@Environment(value=CLIENT) public class QuadrupedEntityModel<T extends Entity> extends AnimalModel<T>
| Modifier and Type | Field and Description |
|---|---|
protected ModelPart |
backLeftLeg |
protected ModelPart |
backRightLeg |
protected ModelPart |
frontLeftLeg |
protected ModelPart |
frontRightLeg |
protected ModelPart |
head |
protected ModelPart |
torso |
child, handSwingProgress, ridinglayerFactory, textureHeight, textureWidth| Constructor and Description |
|---|
QuadrupedEntityModel(int legHeight,
float scale,
boolean headScaled,
float childHeadYOffset,
float childHeadZOffset,
float invertedChildHeadScale,
float invertedChildBodyScale,
int childBodyYOffset) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<ModelPart> |
getBodyParts() |
protected Iterable<ModelPart> |
getHeadParts() |
void |
setAngles(T entity,
float limbAngle,
float limbDistance,
float animationProgress,
float headYaw,
float headPitch) |
renderanimateModel, copyStateToprotected ModelPart head
protected ModelPart torso
protected ModelPart backRightLeg
protected ModelPart backLeftLeg
protected ModelPart frontRightLeg
protected ModelPart frontLeftLeg
public QuadrupedEntityModel(int legHeight,
float scale,
boolean headScaled,
float childHeadYOffset,
float childHeadZOffset,
float invertedChildHeadScale,
float invertedChildBodyScale,
int childBodyYOffset)
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>