Class AbstractEquineModel<T extends EquineRenderState>
java.lang.Object
net.minecraft.client.model.Model<T>
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.animal.equine.AbstractEquineModel<T>
- Direct Known Subclasses:
DonkeyModel, EquineSaddleModel, HorseModel
-
Nested Class Summary
Nested classes/interfaces inherited from class Model
Model.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ModelPartprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate static final floatprotected static final Stringprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprivate final ModelPartFields inherited from class EntityModel
MODEL_Y_OFFSETFields inherited from class Model
renderType, root -
Constructor Summary
ConstructorsConstructorDescriptionAbstractEquineModel(ModelPart root) AbstractEquineModel(ModelPart root, ModelPart headParts, ModelPart rightHindLeg, ModelPart rightFrontLeg, ModelPart leftHindLeg, ModelPart leftFrontLeg, ModelPart tail) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidanimateHeadPartsPlacement(float eating, float standing) static MeshDefinitionprotected floatprotected floatprotected floatprotected floatprotected floatprotected voidoffsetLegPositionWhenStanding(float standing) voidMethods inherited from class Model
allParts, getAnimation, renderToBuffer, renderToBuffer, renderType, renderType, resetPose, root
-
Field Details
-
DEG_125
private static final float DEG_125- See Also:
-
DEG_60
private static final float DEG_60- See Also:
-
DEG_45
private static final float DEG_45- See Also:
-
DEG_30
private static final float DEG_30- See Also:
-
DEG_15
private static final float DEG_15- See Also:
-
HEAD_PARTS
- See Also:
-
body
-
headParts
-
rightHindLeg
-
leftHindLeg
-
rightFrontLeg
-
leftFrontLeg
-
tail
-
-
Constructor Details
-
AbstractEquineModel
-
AbstractEquineModel
-
-
Method Details
-
createBodyMesh
-
setupAnim
- Overrides:
setupAnimin classModel<T extends EquineRenderState>
-
offsetLegPositionWhenStanding
protected void offsetLegPositionWhenStanding(float standing) -
getLegStandAngle
protected float getLegStandAngle() -
getLegStandingYOffset
protected float getLegStandingYOffset() -
getLegStandingZOffset
protected float getLegStandingZOffset() -
getLegStandingXRotOffset
protected float getLegStandingXRotOffset() -
getTailXRotOffset
protected float getTailXRotOffset() -
animateHeadPartsPlacement
protected void animateHeadPartsPlacement(float eating, float standing)
-