Class QuadrupedEntityModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.QuadrupedEntityModel<T>
- Direct Known Subclasses:
CowEntityModel
,GoatEntityModel
,PandaEntityModel
,PigEntityModel
,PolarBearEntityModel
,SheepEntityModel
,SheepWoolEntityModel
,TurtleEntityModel
Represents the model of a quadruped entity.
Part Name | Parent | Corresponding Field |
---|---|---|
"head" | Root part | head |
"body" | Root part | body |
"right_hind_leg" | Root part | rightHindLeg |
"left_hind_leg" | Root part | leftHindLeg |
"right_front_leg" | Root part | rightFrontLeg |
"left_front_leg" | Root part | leftFrontLeg |
- Mappings:
Namespace Name official erj
intermediary net/minecraft/class_597
named net/minecraft/client/render/entity/model/QuadrupedEntityModel
-
Field Summary
Modifier 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.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
ModifierConstructorDescriptionprotected
QuadrupedEntityModel
(ModelPart root, boolean headScaled, float childHeadYOffset, float childHeadZOffset, float invertedChildHeadScale, float invertedChildBodyScale, int childBodyYOffset) -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelData
getModelData
(int stanceWidth, Dilation dilation) void
Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
head
- Mappings:
Namespace Name Mixin selector official a
Lerj;a:Lesv;
intermediary field_3535
Lnet/minecraft/class_597;field_3535:Lnet/minecraft/class_630;
named head
Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
body
- Mappings:
Namespace Name Mixin selector official b
Lerj;b:Lesv;
intermediary field_3538
Lnet/minecraft/class_597;field_3538:Lnet/minecraft/class_630;
named body
Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;body:Lnet/minecraft/client/model/ModelPart;
-
rightHindLeg
- Mappings:
Namespace Name Mixin selector official f
Lerj;f:Lesv;
intermediary field_27476
Lnet/minecraft/class_597;field_27476:Lnet/minecraft/class_630;
named rightHindLeg
Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;
-
leftHindLeg
- Mappings:
Namespace Name Mixin selector official g
Lerj;g:Lesv;
intermediary field_27477
Lnet/minecraft/class_597;field_27477:Lnet/minecraft/class_630;
named leftHindLeg
Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;
-
rightFrontLeg
- Mappings:
Namespace Name Mixin selector official h
Lerj;h:Lesv;
intermediary field_27478
Lnet/minecraft/class_597;field_27478:Lnet/minecraft/class_630;
named rightFrontLeg
Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;
-
leftFrontLeg
- Mappings:
Namespace Name Mixin selector official i
Lerj;i:Lesv;
intermediary field_27479
Lnet/minecraft/class_597;field_27479:Lnet/minecraft/class_630;
named leftFrontLeg
Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;leftFrontLeg:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
QuadrupedEntityModel
protected QuadrupedEntityModel(ModelPart root, boolean headScaled, float childHeadYOffset, float childHeadZOffset, float invertedChildHeadScale, float invertedChildBodyScale, int childBodyYOffset) - Mappings:
Namespace Name Mixin selector official <init>
Lerj;<init>(Lesv;ZFFFFI)V
intermediary <init>
Lnet/minecraft/class_597;<init>(Lnet/minecraft/class_630;ZFFFFI)V
named <init>
Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;ZFFFFI)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector official a
Lerj;a(ILesz;)Letd;
intermediary method_32033
Lnet/minecraft/class_597;method_32033(ILnet/minecraft/class_5605;)Lnet/minecraft/class_5609;
named getModelData
Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;getModelData(ILnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/ModelData;
-
getHeadParts
- Specified by:
getHeadParts
in classAnimalModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Lepc;a()Ljava/lang/Iterable;
intermediary method_22946
Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;
named getHeadParts
Lnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;
-
getBodyParts
- Specified by:
getBodyParts
in classAnimalModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official b
Lepc;b()Ljava/lang/Iterable;
intermediary method_22948
Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;
named getBodyParts
Lnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
-
setAngles
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch) - Specified by:
setAngles
in classEntityModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Leqb;a(Lbaq;FFFFF)V
intermediary method_2819
Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
-