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 root, boolean scaleHead, float babyYHeadOffset, float babyZHeadOffset, float babyHeadScale, float babyBodyScale, int bodyYOffset) -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinition
createBodyMesh
(int yOffset, CubeDeformation cubeDeformation) void
setupAnim
(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
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 root, boolean scaleHead, float babyYHeadOffset, float babyZHeadOffset, float babyHeadScale, float babyBodyScale, int bodyYOffset)
-
-
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 entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Specified by:
setupAnim
in classEntityModel<T extends Entity>
-