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
named net/minecraft/client/render/entity/model/QuadrupedEntityModel
intermediary net/minecraft/class_597
official fvl
  • Field Details

    • body

      protected final ModelPart body
      Mappings:
      Namespace Name Mixin selector
      named body Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;body:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3538 Lnet/minecraft/class_597;field_3538:Lnet/minecraft/class_630;
      official b Lfvl;b:Lfxb;
    • rightHindLeg

      protected final ModelPart rightHindLeg
      Mappings:
      Namespace Name Mixin selector
      named rightHindLeg Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27476 Lnet/minecraft/class_597;field_27476:Lnet/minecraft/class_630;
      official f Lfvl;f:Lfxb;
    • leftHindLeg

      protected final ModelPart leftHindLeg
      Mappings:
      Namespace Name Mixin selector
      named leftHindLeg Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27477 Lnet/minecraft/class_597;field_27477:Lnet/minecraft/class_630;
      official g Lfvl;g:Lfxb;
    • rightFrontLeg

      protected final ModelPart rightFrontLeg
      Mappings:
      Namespace Name Mixin selector
      named rightFrontLeg Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27478 Lnet/minecraft/class_597;field_27478:Lnet/minecraft/class_630;
      official h Lfvl;h:Lfxb;
    • leftFrontLeg

      protected final ModelPart leftFrontLeg
      Mappings:
      Namespace Name Mixin selector
      named leftFrontLeg Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;leftFrontLeg:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27479 Lnet/minecraft/class_597;field_27479:Lnet/minecraft/class_630;
      official i Lfvl;i:Lfxb;
  • Constructor Details

    • QuadrupedEntityModel

      protected QuadrupedEntityModel(ModelPart root, boolean headScaled, float childHeadYOffset, float childHeadZOffset, float invertedChildHeadScale, float invertedChildBodyScale, int childBodyYOffset)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;ZFFFFI)V
      intermediary <init> Lnet/minecraft/class_597;<init>(Lnet/minecraft/class_630;ZFFFFI)V
      official <init> Lfvl;<init>(Lfxb;ZFFFFI)V
  • Method Details

    • getModelData

      public static ModelData getModelData(int stanceWidth, Dilation dilation)
      Mappings:
      Namespace Name Mixin selector
      named getModelData Lnet/minecraft/client/render/entity/model/QuadrupedEntityModel;getModelData(ILnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/ModelData;
      intermediary method_32033 Lnet/minecraft/class_597;method_32033(ILnet/minecraft/class_5605;)Lnet/minecraft/class_5609;
      official a Lfvl;a(ILfxf;)Lfxj;
    • getHeadParts

      protected Iterable<ModelPart> getHeadParts()
      Specified by:
      getHeadParts in class AnimalModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      named getHeadParts Lnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;
      intermediary method_22946 Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;
      official a Lfsw;a()Ljava/lang/Iterable;
    • getBodyParts

      protected Iterable<ModelPart> getBodyParts()
      Specified by:
      getBodyParts in class AnimalModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      named getBodyParts Lnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
      intermediary method_22948 Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;
      official b Lfsw;b()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
      named setAngles Lnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
      intermediary method_2819 Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)V
      official a Lfub;a(Lbsv;FFFFF)V