Class PlayerEntityModel<T extends LivingEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.BipedEntityModel<T>
net.minecraft.client.render.entity.model.PlayerEntityModel<T>
- All Implemented Interfaces:
ModelWithArms
,ModelWithHead
- Direct Known Subclasses:
PiglinEntityModel
@Environment(CLIENT)
public class PlayerEntityModel<T extends LivingEntity>
extends BipedEntityModel<T>
- Mappings:
Namespace Name official ehb
intermediary net/minecraft/class_591
named net/minecraft/client/render/entity/model/PlayerEntityModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
BipedEntityModel.ArmPose
-
Field Summary
Modifier and TypeFieldDescriptionprivate ModelPart
private static String
private ModelPart
private static String
private static String
private static String
All the parts.private static String
private static String
private boolean
Fields inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
body, field_32505, field_32506, hat, head, leaningPitch, leftArm, leftArmPose, leftLeg, rightArm, rightArmPose, rightLeg, sneaking
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRandomPart(Random random)
static ModelData
getTexturedModelData(Dilation dilation, boolean slim)
void
renderCape(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)
void
renderEars(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)
void
void
setArmAngle(Arm arm, MatrixStack matrices)
void
setVisible(boolean visible)
Methods inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
animateArms, animateModel, getArm, getHead, getHeadParts, getModelData, lerpAngle, setAttributes
Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
EAR
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Lehb;a:Ljava/lang/String;
intermediary field_32538
Lnet/minecraft/class_591;field_32538:Ljava/lang/String;
named EAR
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;EAR:Ljava/lang/String;
-
CLOAK
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official x
Lehb;x:Ljava/lang/String;
intermediary field_32539
Lnet/minecraft/class_591;field_32539:Ljava/lang/String;
named CLOAK
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;CLOAK:Ljava/lang/String;
-
LEFT_SLEEVE
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official y
Lehb;y:Ljava/lang/String;
intermediary field_32540
Lnet/minecraft/class_591;field_32540:Ljava/lang/String;
named LEFT_SLEEVE
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;LEFT_SLEEVE:Ljava/lang/String;
-
RIGHT_SLEEVE
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official z
Lehb;z:Ljava/lang/String;
intermediary field_32541
Lnet/minecraft/class_591;field_32541:Ljava/lang/String;
named RIGHT_SLEEVE
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;RIGHT_SLEEVE:Ljava/lang/String;
-
LEFT_PANTS
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official A
Lehb;A:Ljava/lang/String;
intermediary field_32536
Lnet/minecraft/class_591;field_32536:Ljava/lang/String;
named LEFT_PANTS
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;LEFT_PANTS:Ljava/lang/String;
-
RIGHT_PANTS
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official B
Lehb;B:Ljava/lang/String;
intermediary field_32537
Lnet/minecraft/class_591;field_32537:Ljava/lang/String;
named RIGHT_PANTS
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;RIGHT_PANTS:Ljava/lang/String;
-
parts
All the parts. Used when picking a part to render stuck arrows.- Mappings:
Namespace Name Mixin selector official C
Lehb;C:Ljava/util/List;
intermediary field_27466
Lnet/minecraft/class_591;field_27466:Ljava/util/List;
named parts
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;parts:Ljava/util/List;
-
leftSleeve
- Mappings:
Namespace Name Mixin selector official b
Lehb;b:Leiq;
intermediary field_3484
Lnet/minecraft/class_591;field_3484:Lnet/minecraft/class_630;
named leftSleeve
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;leftSleeve:Lnet/minecraft/client/model/ModelPart;
-
rightSleeve
- Mappings:
Namespace Name Mixin selector official t
Lehb;t:Leiq;
intermediary field_3486
Lnet/minecraft/class_591;field_3486:Lnet/minecraft/class_630;
named rightSleeve
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;rightSleeve:Lnet/minecraft/client/model/ModelPart;
-
leftPants
- Mappings:
Namespace Name Mixin selector official u
Lehb;u:Leiq;
intermediary field_3482
Lnet/minecraft/class_591;field_3482:Lnet/minecraft/class_630;
named leftPants
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;leftPants:Lnet/minecraft/client/model/ModelPart;
-
rightPants
- Mappings:
Namespace Name Mixin selector official v
Lehb;v:Leiq;
intermediary field_3479
Lnet/minecraft/class_591;field_3479:Lnet/minecraft/class_630;
named rightPants
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;rightPants:Lnet/minecraft/client/model/ModelPart;
-
jacket
- Mappings:
Namespace Name Mixin selector official w
Lehb;w:Leiq;
intermediary field_3483
Lnet/minecraft/class_591;field_3483:Lnet/minecraft/class_630;
named jacket
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;jacket:Lnet/minecraft/client/model/ModelPart;
-
cloak
- Mappings:
Namespace Name Mixin selector official D
Lehb;D:Leiq;
intermediary field_3485
Lnet/minecraft/class_591;field_3485:Lnet/minecraft/class_630;
named cloak
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;cloak:Lnet/minecraft/client/model/ModelPart;
-
ear
- Mappings:
Namespace Name Mixin selector official E
Lehb;E:Leiq;
intermediary field_3481
Lnet/minecraft/class_591;field_3481:Lnet/minecraft/class_630;
named ear
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;ear:Lnet/minecraft/client/model/ModelPart;
-
thinArms
private final boolean thinArms- Mappings:
Namespace Name Mixin selector official F
Lehb;F:Z
intermediary field_3480
Lnet/minecraft/class_591;field_3480:Z
named thinArms
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;thinArms:Z
-
-
Constructor Details
-
PlayerEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Lehb;<init>(Leiq;Z)V
intermediary <init>
Lnet/minecraft/class_591;<init>(Lnet/minecraft/class_630;Z)V
named <init>
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;Z)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official a
Lehb;a(Leiu;Z)Leiy;
intermediary method_32028
Lnet/minecraft/class_591;method_32028(Lnet/minecraft/class_5605;Z)Lnet/minecraft/class_5609;
named getTexturedModelData
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;getTexturedModelData(Lnet/minecraft/client/model/Dilation;Z)Lnet/minecraft/client/model/ModelData;
-
getBodyParts
- Overrides:
getBodyParts
in classBipedEntityModel<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;
-
renderEars
- Mappings:
Namespace Name Mixin selector official a
Lehb;a(Ldqk;Ldqo;II)V
intermediary method_2824
Lnet/minecraft/class_591;method_2824(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)V
named renderEars
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;renderEars(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)V
-
renderCape
- Mappings:
Namespace Name Mixin selector official b
Lehb;b(Ldqk;Ldqo;II)V
intermediary method_2823
Lnet/minecraft/class_591;method_2823(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)V
named renderCape
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;renderCape(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)V
-
setAngles
- Overrides:
setAngles
in classBipedEntityModel<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official method_17087
Lehb;method_17087(Latt;FFFFF)V
intermediary method_17087
Lnet/minecraft/class_591;method_17087(Lnet/minecraft/class_1309;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;setAngles(Lnet/minecraft/entity/LivingEntity;FFFFF)V
-
setVisible
public void setVisible(boolean visible)- Overrides:
setVisible
in classBipedEntityModel<T extends LivingEntity>
- 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
- Specified by:
setArmAngle
in interfaceModelWithArms
- Overrides:
setArmAngle
in classBipedEntityModel<T extends LivingEntity>
- 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
-
getRandomPart
- Mappings:
Namespace Name Mixin selector official a
Lehb;a(Ljava/util/Random;)Leiq;
intermediary method_22697
Lnet/minecraft/class_591;method_22697(Ljava/util/Random;)Lnet/minecraft/class_630;
named getRandomPart
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;getRandomPart(Ljava/util/Random;)Lnet/minecraft/client/model/ModelPart;
-