Class QuadrupedModel<T extends LivingEntityRenderState>
java.lang.Object
net.minecraft.client.model.Model<T>
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.QuadrupedModel<T>
- Direct Known Subclasses:
CowModel, GoatModel, PandaModel, PigModel, PolarBearModel, SheepFurModel, SheepModel, TurtleModel
-
Nested Class Summary
Nested classes/interfaces inherited from class Model
Model.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartFields inherited from class EntityModel
MODEL_Y_OFFSETFields inherited from class Model
renderType, root -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQuadrupedModel(ModelPart root) protectedQuadrupedModel(ModelPart root, Function<Identifier, RenderType> renderType) -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinitioncreateBodyMesh(int legSize, boolean mirrorLeftLeg, boolean mirrorRightLeg, CubeDeformation g) (package private) static voidcreateLegs(PartDefinition root, boolean mirrorLeftLeg, boolean mirrorRightLeg, int legSize, CubeDeformation g) voidMethods inherited from class Model
allParts, getAnimation, renderToBuffer, renderToBuffer, renderType, resetPose, root
-
Field Details
-
head
-
body
-
rightHindLeg
-
leftHindLeg
-
rightFrontLeg
-
leftFrontLeg
-
-
Constructor Details
-
QuadrupedModel
-
QuadrupedModel
-
-
Method Details
-
createBodyMesh
public static MeshDefinition createBodyMesh(int legSize, boolean mirrorLeftLeg, boolean mirrorRightLeg, CubeDeformation g) -
createLegs
static void createLegs(PartDefinition root, boolean mirrorLeftLeg, boolean mirrorRightLeg, int legSize, CubeDeformation g) -
setupAnim
- Overrides:
setupAnimin classModel<T extends LivingEntityRenderState>
-