Class QuadrupedEntityModel<T extends Entity>

Direct Known Subclasses:
CowEntityModel, GoatEntityModel, PandaEntityModel, PigEntityModel, PolarBearEntityModel, SheepEntityModel, SheepWoolEntityModel, TurtleEntityModel

@Environment(CLIENT) public class QuadrupedEntityModel<T extends Entity> extends AnimalModel<T>
Represents the model of a quadruped entity.
Model parts of this model
Part NameParentCorresponding Field
"head"Root parthead
"body"Root partbody
"right_hind_leg"Root partrightHindLeg
"left_hind_leg"Root partleftHindLeg
"right_front_leg"Root partrightFrontLeg
"left_front_leg"Root partleftFrontLeg
Mappings:
Namespace Name
official fcp
intermediary net/minecraft/class_597
named net/minecraft/client/render/entity/model/QuadrupedEntityModel
  • Field Details

    • body

      protected final ModelPart body
      Mappings:
      Namespace Name Mixin selector
      official b Lfcp;b:Lfee;
      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

      protected final ModelPart rightHindLeg
      Mappings:
      Namespace Name Mixin selector
      official f Lfcp;f:Lfee;
      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

      protected final ModelPart leftHindLeg
      Mappings:
      Namespace Name Mixin selector
      official g Lfcp;g:Lfee;
      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

      protected final ModelPart rightFrontLeg
      Mappings:
      Namespace Name Mixin selector
      official h Lfcp;h:Lfee;
      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

      protected final ModelPart leftFrontLeg
      Mappings:
      Namespace Name Mixin selector
      official i Lfcp;i:Lfee;
      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> Lfcp;<init>(Lfee;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

      public static ModelData getModelData(int stanceWidth, Dilation dilation)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcp;a(ILfei;)Lfem;
      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

      protected Iterable<ModelPart> getHeadParts()
      Specified by:
      getHeadParts in class AnimalModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfad;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

      protected Iterable<ModelPart> getBodyParts()
      Specified by:
      getBodyParts in class AnimalModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official b Lfad;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 class EntityModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfbf;a(Lbfj;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