Class BipedEntityModel<T extends BipedEntityRenderState>

java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
net.minecraft.client.render.entity.model.BipedEntityModel<T>
All Implemented Interfaces:
ModelWithArms, ModelWithHead
Direct Known Subclasses:
AbstractZombieModel, ArmorEntityModel, ArmorStandArmorEntityModel, Deadmau5EarsEntityModel, EndermanEntityModel, PiglinBaseEntityModel, PlayerCapeModel, PlayerEntityModel, SkeletonEntityModel, ZombieVillagerEntityModel

@Environment(CLIENT) public class BipedEntityModel<T extends BipedEntityRenderState> extends EntityModel<T> implements ModelWithArms, ModelWithHead
Represents the model of a biped living entity.
Model parts of this model
Part NameParentCorresponding Field
"hat"Root parthat
"head"Root parthead
"body"Root partbody
"right_arm"Root partrightArm
"left_arm"Root partleftArm
"right_leg"Root partrightLeg
"left_leg"Root partleftLeg
Mappings:
Namespace Name
named net/minecraft/client/render/entity/model/BipedEntityModel
intermediary net/minecraft/class_572
official gby
  • Field Details

    • BABY_TRANSFORMER

      public static final ModelTransformer BABY_TRANSFORMER
      Mappings:
      Namespace Name Mixin selector
      named BABY_TRANSFORMER Lnet/minecraft/client/render/entity/model/BipedEntityModel;BABY_TRANSFORMER:Lnet/minecraft/client/render/entity/model/ModelTransformer;
      intermediary field_52918 Lnet/minecraft/class_572;field_52918:Lnet/minecraft/class_9953;
      official i Lgby;i:Lgew;
    • field_32505

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

      public static final float field_32506
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32506 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_32506:F
      intermediary field_32506 Lnet/minecraft/class_572;field_32506:F
      official k Lgby;k:F
    • field_42513

      public static final float field_42513
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_42513 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_42513:F
      intermediary field_42513 Lnet/minecraft/class_572;field_42513:F
      official l Lgby;l:F
    • field_42512

      private static final float field_42512
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_42512 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_42512:F
      intermediary field_42512 Lnet/minecraft/class_572;field_42512:F
      official a Lgby;a:F
    • SPYGLASS_ARM_YAW_OFFSET

      private static final float SPYGLASS_ARM_YAW_OFFSET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SPYGLASS_ARM_YAW_OFFSET Lnet/minecraft/client/render/entity/model/BipedEntityModel;SPYGLASS_ARM_YAW_OFFSET:F
      intermediary field_32503 Lnet/minecraft/class_572;field_32503:F
      official b Lgby;b:F
    • SPYGLASS_ARM_PITCH_OFFSET

      private static final float SPYGLASS_ARM_PITCH_OFFSET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SPYGLASS_ARM_PITCH_OFFSET Lnet/minecraft/client/render/entity/model/BipedEntityModel;SPYGLASS_ARM_PITCH_OFFSET:F
      intermediary field_32504 Lnet/minecraft/class_572;field_32504:F
      official c Lgby;c:F
    • SPYGLASS_SNEAKING_ARM_PITCH_OFFSET

      private static final float SPYGLASS_SNEAKING_ARM_PITCH_OFFSET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SPYGLASS_SNEAKING_ARM_PITCH_OFFSET Lnet/minecraft/client/render/entity/model/BipedEntityModel;SPYGLASS_SNEAKING_ARM_PITCH_OFFSET:F
      intermediary field_32507 Lnet/minecraft/class_572;field_32507:F
      official d Lgby;d:F
    • field_46576

      private static final float field_46576
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46576 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_46576:F
      intermediary field_46576 Lnet/minecraft/class_572;field_46576:F
      official e Lgby;e:F
    • field_46577

      private static final float field_46577
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46577 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_46577:F
      intermediary field_46577 Lnet/minecraft/class_572;field_46577:F
      official f Lgby;f:F
    • field_46724

      private static final float field_46724
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46724 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_46724:F
      intermediary field_46724 Lnet/minecraft/class_572;field_46724:F
      official g Lgby;g:F
    • field_39069

      public static final float field_39069
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_39069 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_39069:F
      intermediary field_39069 Lnet/minecraft/class_572;field_39069:F
      official m Lgby;m:F
    • field_39070

      public static final float field_39070
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_39070 Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_39070:F
      intermediary field_39070 Lnet/minecraft/class_572;field_39070:F
      official n Lgby;n:F
    • hat

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

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

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

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

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

      public final ModelPart leftLeg
      Mappings:
      Namespace Name Mixin selector
      named leftLeg Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftLeg:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3397 Lnet/minecraft/class_572;field_3397:Lnet/minecraft/class_630;
      official u Lgby;u:Lgen;
  • Constructor Details

    • BipedEntityModel

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

      public BipedEntityModel(ModelPart root, Function<Identifier,RenderLayer> layerFactory)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/model/Model;<init>(Lnet/minecraft/client/model/ModelPart;Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_3879;<init>(Lnet/minecraft/class_630;Ljava/util/function/Function;)V
      official <init> Lgcg;<init>(Lgen;Ljava/util/function/Function;)V
  • Method Details

    • getModelData

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

      protected BipedEntityModel.ArmPose getArmPose(T state, Arm arm)
      Mappings:
      Namespace Name Mixin selector
      named getArmPose Lnet/minecraft/client/render/entity/model/BipedEntityModel;getArmPose(Lnet/minecraft/client/render/entity/state/BipedEntityRenderState;Lnet/minecraft/util/Arm;)Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
      intermediary method_62081 Lnet/minecraft/class_572;method_62081(Lnet/minecraft/class_10034;Lnet/minecraft/class_1306;)Lnet/minecraft/class_572$class_573;
      official a Lgby;a(Lgyk;Lbvz;)Lgby$a;
    • setAngles

      public void setAngles(T t)
      Overrides:
      setAngles in class EntityModel<T extends BipedEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named setAngles Lnet/minecraft/client/render/entity/model/BipedEntityModel;setAngles(Lnet/minecraft/client/render/entity/state/BipedEntityRenderState;)V
      intermediary method_17087 Lnet/minecraft/class_572;method_17087(Lnet/minecraft/class_10034;)V
      official a Lgby;a(Lgyk;)V
    • positionRightArm

      private void positionRightArm(T state, BipedEntityModel.ArmPose armPose)
      Mappings:
      Namespace Name Mixin selector
      named positionRightArm Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionRightArm(Lnet/minecraft/client/render/entity/state/BipedEntityRenderState;Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;)V
      intermediary method_30154 Lnet/minecraft/class_572;method_30154(Lnet/minecraft/class_10034;Lnet/minecraft/class_572$class_573;)V
      official a Lgby;a(Lgyk;Lgby$a;)V
    • positionLeftArm

      private void positionLeftArm(T state, BipedEntityModel.ArmPose armPose)
      Mappings:
      Namespace Name Mixin selector
      named positionLeftArm Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionLeftArm(Lnet/minecraft/client/render/entity/state/BipedEntityRenderState;Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;)V
      intermediary method_30155 Lnet/minecraft/class_572;method_30155(Lnet/minecraft/class_10034;Lnet/minecraft/class_572$class_573;)V
      official b Lgby;b(Lgyk;Lgby$a;)V
    • positionBlockingArm

      private void positionBlockingArm(ModelPart arm, boolean rightArm)
      Mappings:
      Namespace Name Mixin selector
      named positionBlockingArm Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionBlockingArm(Lnet/minecraft/client/model/ModelPart;Z)V
      intermediary method_54131 Lnet/minecraft/class_572;method_54131(Lnet/minecraft/class_630;Z)V
      official a Lgby;a(Lgen;Z)V
    • animateArms

      protected void animateArms(T state, float animationProgress)
      Mappings:
      Namespace Name Mixin selector
      named animateArms Lnet/minecraft/client/render/entity/model/BipedEntityModel;animateArms(Lnet/minecraft/client/render/entity/state/BipedEntityRenderState;F)V
      intermediary method_29353 Lnet/minecraft/class_572;method_29353(Lnet/minecraft/class_10034;F)V
      official a Lgby;a(Lgyk;F)V
    • method_2807

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

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

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

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

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

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