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 pRoot, boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, int pBodyYOffset) -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinitioncreateBodyMesh(int pYOffset, CubeDeformation pCubeDeformation) voidsetupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) 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 pRoot, boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, int pBodyYOffset)
-
-
Method Details
-
createBodyMesh
-
headParts
- Specified by:
headPartsin classAgeableListModel<T extends Entity>
-
bodyParts
- Specified by:
bodyPartsin classAgeableListModel<T extends Entity>
-
setupAnim
public void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles- Specified by:
setupAnimin classEntityModel<T extends Entity>
-