Class BipedEntityModel<T extends LivingEntity>

All Implemented Interfaces:
ModelWithArms, ModelWithHead
Direct Known Subclasses:
AbstractZombieModel, ArmorStandArmorEntityModel, EndermanEntityModel, PlayerEntityModel, SkeletonEntityModel, VexEntityModel, ZombieVillagerEntityModel

@Environment(CLIENT) public class BipedEntityModel<T extends LivingEntity> extends AnimalModel<T> implements ModelWithArms, ModelWithHead
Mappings:
Namespace Name
official egk
intermediary net/minecraft/class_572
named net/minecraft/client/render/entity/model/BipedEntityModel
  • Field Details

    • field_32505

      public static final float field_32505
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official f Legk;f:F
      intermediary field_32505 Lnet/minecraft/class_572;field_32505:F
      named field_32505 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_32505:F
    • field_32506

      public static final float field_32506
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official g Legk;g:F
      intermediary field_32506 Lnet/minecraft/class_572;field_32506:F
      named field_32506 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_32506:F
    • field_32503

      private static final float field_32503
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a:F
      intermediary field_32503 Lnet/minecraft/class_572;field_32503:F
      named field_32503 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_32503:F
    • field_32504

      private static final float field_32504
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Legk;b:F
      intermediary field_32504 Lnet/minecraft/class_572;field_32504:F
      named field_32504 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_32504:F
    • field_32507

      private static final float field_32507
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official t Legk;t:F
      intermediary field_32507 Lnet/minecraft/class_572;field_32507:F
      named field_32507 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_32507:F
    • hat

      public final ModelPart hat
      Mappings:
      Namespace Name Mixin selector
      official i Legk;i:Leiq;
      intermediary field_3394 Lnet/minecraft/class_572;field_3394:Lnet/minecraft/class_630;
      named hat Lnet/minecraft/client/render/entity/model/BipedEntityModel;hat:Lnet/minecraft/client/model/ModelPart;
    • body

      public final ModelPart body
      Mappings:
      Namespace Name Mixin selector
      official j Legk;j:Leiq;
      intermediary field_3391 Lnet/minecraft/class_572;field_3391:Lnet/minecraft/class_630;
      named body Lnet/minecraft/client/render/entity/model/BipedEntityModel;body:Lnet/minecraft/client/model/ModelPart;
    • rightArm

      public final ModelPart rightArm
      Mappings:
      Namespace Name Mixin selector
      official k Legk;k:Leiq;
      intermediary field_3401 Lnet/minecraft/class_572;field_3401:Lnet/minecraft/class_630;
      named rightArm Lnet/minecraft/client/render/entity/model/BipedEntityModel;rightArm:Lnet/minecraft/client/model/ModelPart;
    • leftArm

      public final ModelPart leftArm
      Mappings:
      Namespace Name Mixin selector
      official l Legk;l:Leiq;
      intermediary field_27433 Lnet/minecraft/class_572;field_27433:Lnet/minecraft/class_630;
      named leftArm Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftArm:Lnet/minecraft/client/model/ModelPart;
    • rightLeg

      public final ModelPart rightLeg
      Mappings:
      Namespace Name Mixin selector
      official m Legk;m:Leiq;
      intermediary field_3392 Lnet/minecraft/class_572;field_3392:Lnet/minecraft/class_630;
      named rightLeg Lnet/minecraft/client/render/entity/model/BipedEntityModel;rightLeg:Lnet/minecraft/client/model/ModelPart;
    • leftLeg

      public final ModelPart leftLeg
      Mappings:
      Namespace Name Mixin selector
      official n Legk;n:Leiq;
      intermediary field_3397 Lnet/minecraft/class_572;field_3397:Lnet/minecraft/class_630;
      named leftLeg Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftLeg:Lnet/minecraft/client/model/ModelPart;
    • leftArmPose

      public BipedEntityModel.ArmPose leftArmPose
      Mappings:
      Namespace Name Mixin selector
      official o Legk;o:Legk$a;
      intermediary field_3399 Lnet/minecraft/class_572;field_3399:Lnet/minecraft/class_572$class_573;
      named leftArmPose Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftArmPose:Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
    • rightArmPose

      public BipedEntityModel.ArmPose rightArmPose
      Mappings:
      Namespace Name Mixin selector
      official p Legk;p:Legk$a;
      intermediary field_3395 Lnet/minecraft/class_572;field_3395:Lnet/minecraft/class_572$class_573;
      named rightArmPose Lnet/minecraft/client/render/entity/model/BipedEntityModel;rightArmPose:Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
    • sneaking

      public boolean sneaking
      Mappings:
      Namespace Name Mixin selector
      official q Legk;q:Z
      intermediary field_3400 Lnet/minecraft/class_572;field_3400:Z
      named sneaking Lnet/minecraft/client/render/entity/model/BipedEntityModel;sneaking:Z
    • leaningPitch

      public float leaningPitch
      Mappings:
      Namespace Name Mixin selector
      official r Legk;r:F
      intermediary field_3396 Lnet/minecraft/class_572;field_3396:F
      named leaningPitch Lnet/minecraft/client/render/entity/model/BipedEntityModel;leaningPitch:F
  • Constructor Details

    • BipedEntityModel

      public BipedEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Legk;<init>(Leiq;)V
      intermediary <init> Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;)V
      named <init> Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
    • BipedEntityModel

      public BipedEntityModel(ModelPart root, Function<Identifier,​RenderLayer> renderLayerFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Legk;<init>(Leiq;Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;Ljava/util/function/Function;)V
      named <init> Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;Ljava/util/function/Function;)V
  • Method Details

    • getModelData

      public static ModelData getModelData(Dilation dilation, float pivotOffsetY)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(Leiu;F)Leiy;
      intermediary method_32011 Lnet/minecraft/class_572;method_32011(Lnet/minecraft/class_5605;F)Lnet/minecraft/class_5609;
      named getModelData Lnet/minecraft/client/render/entity/model/BipedEntityModel;getModelData(Lnet/minecraft/client/model/Dilation;F)Lnet/minecraft/client/model/ModelData;
    • getHeadParts

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

      public void animateModel(T t, float float2, float float3, float float4)
      Overrides:
      animateModel in class EntityModel<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(Latt;FFF)V
      intermediary method_17086 Lnet/minecraft/class_572;method_17086(Lnet/minecraft/class_1309;FFF)V
      named animateModel Lnet/minecraft/client/render/entity/model/BipedEntityModel;animateModel(Lnet/minecraft/entity/LivingEntity;FFF)V
    • setAngles

      public void setAngles(T t, float float2, float float3, float float4, float float5, float float6)
      Specified by:
      setAngles in class EntityModel<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(Latt;FFFFF)V
      intermediary method_17087 Lnet/minecraft/class_572;method_17087(Lnet/minecraft/class_1309;FFFFF)V
      named setAngles Lnet/minecraft/client/render/entity/model/BipedEntityModel;setAngles(Lnet/minecraft/entity/LivingEntity;FFFFF)V
    • positionRightArm

      private void positionRightArm(T entity)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(Latt;)V
      intermediary method_30154 Lnet/minecraft/class_572;method_30154(Lnet/minecraft/class_1309;)V
      named positionRightArm Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionRightArm(Lnet/minecraft/entity/LivingEntity;)V
    • positionLeftArm

      private void positionLeftArm(T entity)
      Mappings:
      Namespace Name Mixin selector
      official b Legk;b(Latt;)V
      intermediary method_30155 Lnet/minecraft/class_572;method_30155(Lnet/minecraft/class_1309;)V
      named positionLeftArm Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionLeftArm(Lnet/minecraft/entity/LivingEntity;)V
    • animateArms

      protected void animateArms(T entity, float animationProgress)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(Latt;F)V
      intermediary method_29353 Lnet/minecraft/class_572;method_29353(Lnet/minecraft/class_1309;F)V
      named animateArms Lnet/minecraft/client/render/entity/model/BipedEntityModel;animateArms(Lnet/minecraft/entity/LivingEntity;F)V
    • lerpAngle

      protected float lerpAngle(float angleOne, float angleTwo, float magnitude)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(FFF)F
      intermediary method_2804 Lnet/minecraft/class_572;method_2804(FFF)F
      named lerpAngle Lnet/minecraft/client/render/entity/model/BipedEntityModel;lerpAngle(FFF)F
    • method_2807

      private float method_2807(float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(F)F
      intermediary method_2807 Lnet/minecraft/class_572;method_2807(F)F
      named method_2807 Lnet/minecraft/client/render/entity/model/BipedEntityModel;method_2807(F)F
    • setAttributes

      public void setAttributes(BipedEntityModel<T> model)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(Legk;)V
      intermediary method_2818 Lnet/minecraft/class_572;method_2818(Lnet/minecraft/class_572;)V
      named setAttributes Lnet/minecraft/client/render/entity/model/BipedEntityModel;setAttributes(Lnet/minecraft/client/render/entity/model/BipedEntityModel;)V
    • setVisible

      public void setVisible(boolean visible)
      Mappings:
      Namespace Name Mixin selector
      official d_ Legk;d_(Z)V
      intermediary method_2805 Lnet/minecraft/class_572;method_2805(Z)V
      named setVisible Lnet/minecraft/client/render/entity/model/BipedEntityModel;setVisible(Z)V
    • setArmAngle

      public void setArmAngle(Arm arm, MatrixStack matrices)
      Specified by:
      setArmAngle in interface ModelWithArms
      Mappings:
      Namespace Name Mixin selector
      official a Lefd;a(Lato;Ldqk;)V
      intermediary method_2803 Lnet/minecraft/class_3881;method_2803(Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;)V
      named setArmAngle Lnet/minecraft/client/render/entity/model/ModelWithArms;setArmAngle(Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;)V
    • getArm

      protected ModelPart getArm(Arm arm)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(Lato;)Leiq;
      intermediary method_2808 Lnet/minecraft/class_572;method_2808(Lnet/minecraft/class_1306;)Lnet/minecraft/class_630;
      named getArm Lnet/minecraft/client/render/entity/model/BipedEntityModel;getArm(Lnet/minecraft/util/Arm;)Lnet/minecraft/client/model/ModelPart;
    • getHead

      public ModelPart getHead()
      Gets the head model part.
      Specified by:
      getHead in interface ModelWithHead
      Returns:
      the head
      Mappings:
      Namespace Name Mixin selector
      official d Legg;d()Leiq;
      intermediary method_2838 Lnet/minecraft/class_3882;method_2838()Lnet/minecraft/class_630;
      named getHead Lnet/minecraft/client/render/entity/model/ModelWithHead;getHead()Lnet/minecraft/client/model/ModelPart;
    • getPreferredArm

      private Arm getPreferredArm(T entity)
      Mappings:
      Namespace Name Mixin selector
      official c Legk;c(Latt;)Lato;
      intermediary method_2806 Lnet/minecraft/class_572;method_2806(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1306;
      named getPreferredArm Lnet/minecraft/client/render/entity/model/BipedEntityModel;getPreferredArm(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/Arm;