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 ModelPart
protected final ModelPart
protected final ModelPart
protected final ModelPart
protected final ModelPart
protected final ModelPart
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
QuadrupedModel
(ModelPart pRoot, boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, int pBodyYOffset) -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinition
createBodyMesh
(int pYOffset, CubeDeformation pCubeDeformation) void
setupAnim
(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
renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods 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:
headParts
in classAgeableListModel<T extends Entity>
-
bodyParts
- Specified by:
bodyParts
in 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:
setupAnim
in classEntityModel<T extends Entity>
-