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
,PandaEntityModel
,PigEntityModel
,PolarBearEntityModel
,SheepEntityModel
,SheepWoolEntityModel
,TurtleEntityModel
@Environment(CLIENT) public class QuadrupedEntityModel<T extends Entity> extends AnimalModel<T>
- Mappings:
Namespace Name official ebx
intermediary net/minecraft/class_597
named net/minecraft/client/render/entity/model/QuadrupedEntityModel
-
Field Summary
Fields Modifier and Type Field Description protected ModelPart
body
protected ModelPart
head
protected ModelPart
leftFrontLeg
protected ModelPart
leftHindLeg
protected ModelPart
rightFrontLeg
protected ModelPart
rightHindLeg
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
Constructors Modifier Constructor Description protected
QuadrupedEntityModel(ModelPart root, boolean headScaled, float childHeadYOffset, float childHeadZOffset, float invertedChildHeadScale, float invertedChildBodyScale, int childBodyYOffset)
-
Method Summary
Modifier and Type Method Description protected Iterable<ModelPart>
getBodyParts()
protected Iterable<ModelPart>
getHeadParts()
static ModelData
getModelData(int stanceWidth, Dilation dilation)
void
setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
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
Lebx;a:Ledh;
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
Lebx;b:Ledh;
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
Lebx;f:Ledh;
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
Lebx;g:Ledh;
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
Lebx;h:Ledh;
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
Lebx;i:Ledh;
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>
Lebx;<init>(Ledh;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
Lebx;a(ILedl;)Ledp;
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/util/math/Dilation;)Lnet/minecraft/client/model/ModelData;
-
getHeadParts
- Specified by:
getHeadParts
in classAnimalModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Ldzt;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
Ldzt;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
Lear;a(Laqv;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
-