Package net.minecraft.client.model
Class QuadrupedModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.QuadrupedModel<T>
- Direct Known Subclasses:
CowModel,GoatModel,PandaModel,PigModel,PolarBearModel,SheepFurModel,SheepModel,TurtleModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQuadrupedModel(ModelPart root, boolean scaleHead, float babyYHeadOffset, float babyZHeadOffset, float babyHeadScale, float babyBodyScale, int bodyYOffset) -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinitioncreateBodyMesh(int yOffset, CubeDeformation cubeDeformation) voidsetupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation anglesMethods inherited from class net.minecraft.client.model.AgeableListModel
renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
head
-
body
-
rightHindLeg
-
leftHindLeg
-
rightFrontLeg
-
leftFrontLeg
-
-
Constructor Details
-
QuadrupedModel
protected QuadrupedModel(ModelPart root, boolean scaleHead, float babyYHeadOffset, float babyZHeadOffset, float babyHeadScale, float babyBodyScale, int bodyYOffset)
-
-
Method Details
-
createBodyMesh
-
headParts
- Specified by:
headPartsin classAgeableListModel<T extends Entity>
-
bodyParts
- Specified by:
bodyPartsin classAgeableListModel<T extends Entity>
-
setupAnim
public void setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Specified by:
setupAnimin classEntityModel<T extends Entity>
-