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 ebxintermediary net/minecraft/class_597named net/minecraft/client/render/entity/model/QuadrupedEntityModel
-
Field Summary
Fields Modifier and Type Field Description protected ModelPartbodyprotected ModelPartheadprotected ModelPartleftFrontLegprotected ModelPartleftHindLegprotected ModelPartrightFrontLegprotected ModelPartrightHindLegFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Modifier Constructor Description protectedQuadrupedEntityModel(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 ModelDatagetModelData(int stanceWidth, Dilation dilation)voidsetAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
renderMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
head
- Mappings:
Namespace Name Mixin selector official aLebx;a:Ledh;intermediary field_3535Lnet/minecraft/class_597;field_3535:Lnet/minecraft/class_630;named headLnet/minecraft/client/render/entity/model/QuadrupedEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
body
- Mappings:
Namespace Name Mixin selector official bLebx;b:Ledh;intermediary field_3538Lnet/minecraft/class_597;field_3538:Lnet/minecraft/class_630;named bodyLnet/minecraft/client/render/entity/model/QuadrupedEntityModel;body:Lnet/minecraft/client/model/ModelPart;
-
rightHindLeg
- Mappings:
Namespace Name Mixin selector official fLebx;f:Ledh;intermediary field_27476Lnet/minecraft/class_597;field_27476:Lnet/minecraft/class_630;named rightHindLegLnet/minecraft/client/render/entity/model/QuadrupedEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;
-
leftHindLeg
- Mappings:
Namespace Name Mixin selector official gLebx;g:Ledh;intermediary field_27477Lnet/minecraft/class_597;field_27477:Lnet/minecraft/class_630;named leftHindLegLnet/minecraft/client/render/entity/model/QuadrupedEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;
-
rightFrontLeg
- Mappings:
Namespace Name Mixin selector official hLebx;h:Ledh;intermediary field_27478Lnet/minecraft/class_597;field_27478:Lnet/minecraft/class_630;named rightFrontLegLnet/minecraft/client/render/entity/model/QuadrupedEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;
-
leftFrontLeg
- Mappings:
Namespace Name Mixin selector official iLebx;i:Ledh;intermediary field_27479Lnet/minecraft/class_597;field_27479:Lnet/minecraft/class_630;named leftFrontLegLnet/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)Vintermediary <init>Lnet/minecraft/class_597;<init>(Lnet/minecraft/class_630;ZFFFFI)Vnamed <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 aLebx;a(ILedl;)Ledp;intermediary method_32033Lnet/minecraft/class_597;method_32033(ILnet/minecraft/class_5605;)Lnet/minecraft/class_5609;named getModelDataLnet/minecraft/client/render/entity/model/QuadrupedEntityModel;getModelData(ILnet/minecraft/client/util/math/Dilation;)Lnet/minecraft/client/model/ModelData;
-
getHeadParts
- Specified by:
getHeadPartsin classAnimalModel<T extends Entity>- Mappings:
Namespace Name Mixin selector official aLdzt;a()Ljava/lang/Iterable;intermediary method_22946Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;named getHeadPartsLnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;
-
getBodyParts
- Specified by:
getBodyPartsin classAnimalModel<T extends Entity>- Mappings:
Namespace Name Mixin selector official bLdzt;b()Ljava/lang/Iterable;intermediary method_22948Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;named getBodyPartsLnet/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:
setAnglesin classEntityModel<T extends Entity>- Mappings:
Namespace Name Mixin selector official aLear;a(Laqv;FFFFF)Vintermediary method_2819Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)Vnamed setAnglesLnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
-