Class PlayerEntityModel<T extends LivingEntity>

All Implemented Interfaces:
ModelWithArms, ModelWithHead
Direct Known Subclasses:
PiglinEntityModel

@Environment(CLIENT) public class PlayerEntityModel<T extends LivingEntity> extends BipedEntityModel<T>
Represents the model of a player-like entity.
Mappings:
Namespace Name
named net/minecraft/client/render/entity/model/PlayerEntityModel
intermediary net/minecraft/class_591
official fwp
  • Field Details

    • EAR

      private static final String EAR
      The key of the ear model part, whose value is "ear".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named EAR Lnet/minecraft/client/render/entity/model/PlayerEntityModel;EAR:Ljava/lang/String;
      intermediary field_32538 Lnet/minecraft/class_591;field_32538:Ljava/lang/String;
      official a Lfwp;a:Ljava/lang/String;
    • CLOAK

      private static final String CLOAK
      The key of the cloak model part, whose value is "cloak".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CLOAK Lnet/minecraft/client/render/entity/model/PlayerEntityModel;CLOAK:Ljava/lang/String;
      intermediary field_32539 Lnet/minecraft/class_591;field_32539:Ljava/lang/String;
      official A Lfwp;A:Ljava/lang/String;
    • LEFT_SLEEVE

      private static final String LEFT_SLEEVE
      The key of the left sleeve model part, whose value is "left_sleeve".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LEFT_SLEEVE Lnet/minecraft/client/render/entity/model/PlayerEntityModel;LEFT_SLEEVE:Ljava/lang/String;
      intermediary field_32540 Lnet/minecraft/class_591;field_32540:Ljava/lang/String;
      official B Lfwp;B:Ljava/lang/String;
    • RIGHT_SLEEVE

      private static final String RIGHT_SLEEVE
      The key of the right sleeve model part, whose value is "right_sleeve".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RIGHT_SLEEVE Lnet/minecraft/client/render/entity/model/PlayerEntityModel;RIGHT_SLEEVE:Ljava/lang/String;
      intermediary field_32541 Lnet/minecraft/class_591;field_32541:Ljava/lang/String;
      official C Lfwp;C:Ljava/lang/String;
    • LEFT_PANTS

      private static final String LEFT_PANTS
      The key of the left pants model part, whose value is "left_pants".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LEFT_PANTS Lnet/minecraft/client/render/entity/model/PlayerEntityModel;LEFT_PANTS:Ljava/lang/String;
      intermediary field_32536 Lnet/minecraft/class_591;field_32536:Ljava/lang/String;
      official D Lfwp;D:Ljava/lang/String;
    • RIGHT_PANTS

      private static final String RIGHT_PANTS
      The key of the right pants model part, whose value is "right_pants".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RIGHT_PANTS Lnet/minecraft/client/render/entity/model/PlayerEntityModel;RIGHT_PANTS:Ljava/lang/String;
      intermediary field_32537 Lnet/minecraft/class_591;field_32537:Ljava/lang/String;
      official E Lfwp;E:Ljava/lang/String;
    • parts

      private final List<ModelPart> parts
      All the parts. Used when picking a part to render stuck arrows.
      Mappings:
      Namespace Name Mixin selector
      named parts Lnet/minecraft/client/render/entity/model/PlayerEntityModel;parts:Ljava/util/List;
      intermediary field_27466 Lnet/minecraft/class_591;field_27466:Ljava/util/List;
      official F Lfwp;F:Ljava/util/List;
    • leftSleeve

      public final ModelPart leftSleeve
      Mappings:
      Namespace Name Mixin selector
      named leftSleeve Lnet/minecraft/client/render/entity/model/PlayerEntityModel;leftSleeve:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3484 Lnet/minecraft/class_591;field_3484:Lnet/minecraft/class_630;
      official b Lfwp;b:Lfyk;
    • rightSleeve

      public final ModelPart rightSleeve
      Mappings:
      Namespace Name Mixin selector
      named rightSleeve Lnet/minecraft/client/render/entity/model/PlayerEntityModel;rightSleeve:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3486 Lnet/minecraft/class_591;field_3486:Lnet/minecraft/class_630;
      official w Lfwp;w:Lfyk;
    • leftPants

      public final ModelPart leftPants
      Mappings:
      Namespace Name Mixin selector
      named leftPants Lnet/minecraft/client/render/entity/model/PlayerEntityModel;leftPants:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3482 Lnet/minecraft/class_591;field_3482:Lnet/minecraft/class_630;
      official x Lfwp;x:Lfyk;
    • rightPants

      public final ModelPart rightPants
      Mappings:
      Namespace Name Mixin selector
      named rightPants Lnet/minecraft/client/render/entity/model/PlayerEntityModel;rightPants:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3479 Lnet/minecraft/class_591;field_3479:Lnet/minecraft/class_630;
      official y Lfwp;y:Lfyk;
    • jacket

      public final ModelPart jacket
      Mappings:
      Namespace Name Mixin selector
      named jacket Lnet/minecraft/client/render/entity/model/PlayerEntityModel;jacket:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3483 Lnet/minecraft/class_591;field_3483:Lnet/minecraft/class_630;
      official z Lfwp;z:Lfyk;
    • cloak

      private final ModelPart cloak
      Mappings:
      Namespace Name Mixin selector
      named cloak Lnet/minecraft/client/render/entity/model/PlayerEntityModel;cloak:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3485 Lnet/minecraft/class_591;field_3485:Lnet/minecraft/class_630;
      official G Lfwp;G:Lfyk;
    • ear

      private final ModelPart ear
      Mappings:
      Namespace Name Mixin selector
      named ear Lnet/minecraft/client/render/entity/model/PlayerEntityModel;ear:Lnet/minecraft/client/model/ModelPart;
      intermediary field_3481 Lnet/minecraft/class_591;field_3481:Lnet/minecraft/class_630;
      official H Lfwp;H:Lfyk;
    • thinArms

      private final boolean thinArms
      Mappings:
      Namespace Name Mixin selector
      named thinArms Lnet/minecraft/client/render/entity/model/PlayerEntityModel;thinArms:Z
      intermediary field_3480 Lnet/minecraft/class_591;field_3480:Z
      official I Lfwp;I:Z
  • Constructor Details

    • PlayerEntityModel

      public PlayerEntityModel(ModelPart root, boolean thinArms)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/PlayerEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;Z)V
      intermediary <init> Lnet/minecraft/class_591;<init>(Lnet/minecraft/class_630;Z)V
      official <init> Lfwp;<init>(Lfyk;Z)V
  • Method Details

    • getTexturedModelData

      public static ModelData getTexturedModelData(Dilation dilation, boolean slim)
      Mappings:
      Namespace Name Mixin selector
      named getTexturedModelData Lnet/minecraft/client/render/entity/model/PlayerEntityModel;getTexturedModelData(Lnet/minecraft/client/model/Dilation;Z)Lnet/minecraft/client/model/ModelData;
      intermediary method_32028 Lnet/minecraft/class_591;method_32028(Lnet/minecraft/class_5605;Z)Lnet/minecraft/class_5609;
      official a Lfwp;a(Lfyo;Z)Lfys;
    • getBodyParts

      protected Iterable<ModelPart> getBodyParts()
      Overrides:
      getBodyParts in class BipedEntityModel<T extends LivingEntity>
      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 Lfuf;b()Ljava/lang/Iterable;
    • renderEars

      public void renderEars(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)
      Mappings:
      Namespace Name Mixin selector
      named renderEars Lnet/minecraft/client/render/entity/model/PlayerEntityModel;renderEars(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)V
      intermediary method_2824 Lnet/minecraft/class_591;method_2824(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)V
      official b Lfwp;b(Lfbi;Lfbm;II)V
    • renderCape

      public void renderCape(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)
      Mappings:
      Namespace Name Mixin selector
      named renderCape Lnet/minecraft/client/render/entity/model/PlayerEntityModel;renderCape(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)V
      intermediary method_2823 Lnet/minecraft/class_591;method_2823(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)V
      official c Lfwp;c(Lfbi;Lfbm;II)V
    • setAngles

      public void setAngles(T t, float float2, float float3, float float4, float float5, float float6)
      Overrides:
      setAngles in class BipedEntityModel<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named setAngles Lnet/minecraft/client/render/entity/model/PlayerEntityModel;setAngles(Lnet/minecraft/entity/LivingEntity;FFFFF)V
      intermediary method_17087 Lnet/minecraft/class_591;method_17087(Lnet/minecraft/class_1309;FFFFF)V
      official method_17087 Lfwp;method_17087(Lbtn;FFFFF)V
    • setVisible

      public void setVisible(boolean visible)
      Overrides:
      setVisible in class BipedEntityModel<T extends LivingEntity>
      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_ Lfvx;c_(Z)V
    • setArmAngle

      public void setArmAngle(Arm arm, MatrixStack matrices)
      Specified by:
      setArmAngle in interface ModelWithArms
      Overrides:
      setArmAngle in class BipedEntityModel<T extends LivingEntity>
      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 Lfuj;a(Lbtg;Lfbi;)V
    • getRandomPart

      public ModelPart getRandomPart(Random random)
      Mappings:
      Namespace Name Mixin selector
      named getRandomPart Lnet/minecraft/client/render/entity/model/PlayerEntityModel;getRandomPart(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/client/model/ModelPart;
      intermediary method_22697 Lnet/minecraft/class_591;method_22697(Lnet/minecraft/class_5819;)Lnet/minecraft/class_630;
      official a Lfwp;a(Layw;)Lfyk;