Class PlayerEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<PlayerEntityRenderState>
net.minecraft.client.render.entity.model.BipedEntityModel<PlayerEntityRenderState>
net.minecraft.client.render.entity.model.PlayerEntityModel
- All Implemented Interfaces:
ModelWithArms
,ModelWithHead
@Environment(CLIENT)
public class PlayerEntityModel
extends BipedEntityModel<PlayerEntityRenderState>
Represents the model of a player-like entity.
Part Name | Parent | Corresponding Field |
---|---|---|
"hat" | Root part | BipedEntityModel.hat |
"head" | Root part | BipedEntityModel.head |
"body" | Root part | BipedEntityModel.body |
"right_arm" | Root part | BipedEntityModel.rightArm |
"left_arm" | Root part | BipedEntityModel.leftArm |
"right_leg" | Root part | BipedEntityModel.rightLeg |
"left_leg" | Root part | BipedEntityModel.leftLeg |
Root part |
invalid reference
|
|
Root part |
invalid reference
|
|
"left_sleeve" | Root part | leftSleeve |
"right_sleeve" | Root part | rightSleeve |
"left_pants" | Root part | leftPants |
"right_pants" | Root part | rightPants |
"jacket" | Root part | jacket |
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/PlayerEntityModel
intermediary net/minecraft/class_591
official gcq
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
BipedEntityModel.ArmPose
Nested classes/interfaces inherited from class net.minecraft.client.model.Model
Model.SinglePartModel
-
Field Summary
Modifier and TypeFieldDescriptionfinal ModelPart
private static final String
The key of the left pants model part, whose value is "left_pants".private static final String
The key of the left sleeve model part, whose value is "left_sleeve".final ModelPart
final ModelPart
All the parts.private static final String
The key of the right pants model part, whose value is "right_pants".private static final String
The key of the right sleeve model part, whose value is "right_sleeve".final ModelPart
final ModelPart
private final boolean
Fields inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
BABY_TRANSFORMER, body, field_32505, field_32506, field_39069, field_39070, field_42513, hat, head, leftArm, leftLeg, rightArm, rightLeg
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
field_52908
Fields inherited from class net.minecraft.client.model.Model
layerFactory, root
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BipedEntityModel.ArmPose
getArmPose
(PlayerEntityRenderState playerEntityRenderState, Arm arm) getRandomPart
(Random random) static ModelData
getTexturedModelData
(Dilation dilation, boolean slim) void
setAngles
(PlayerEntityRenderState playerEntityRenderState) void
setArmAngle
(Arm arm, MatrixStack matrices) void
setVisible
(boolean visible) Methods inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
animateArms, copyTransforms, getArm, getHead, getModelData
Methods inherited from class net.minecraft.client.model.Model
animate, animate, animate, animateWalking, getLayer, getPart, getParts, getRootPart, render, render, resetTransforms
-
Field Details
-
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 f
Lgcq;f:Ljava/lang/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 g
Lgcq;g:Ljava/lang/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 x
Lgcq;x:Ljava/lang/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 y
Lgcq;y:Ljava/lang/String;
-
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 z
Lgcq;z:Ljava/util/List;
-
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 a
Lgcq;a:Lgen;
-
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 b
Lgcq;b:Lgen;
-
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 c
Lgcq;c:Lgen;
-
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 d
Lgcq;d:Lgen;
-
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 e
Lgcq;e:Lgen;
-
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 A
Lgcq;A:Z
-
-
Constructor Details
-
PlayerEntityModel
- 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>
Lgcq;<init>(Lgen;Z)V
-
-
Method Details
-
getTexturedModelData
- 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
Lgcq;a(Lger;Z)Lgev;
-
setAngles
- Overrides:
setAngles
in classBipedEntityModel<PlayerEntityRenderState>
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;setAngles(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;)V
intermediary method_62110
Lnet/minecraft/class_591;method_62110(Lnet/minecraft/class_10055;)V
official a
Lgcq;a(Lgzf;)V
-
setVisible
public void setVisible(boolean visible) - Overrides:
setVisible
in classBipedEntityModel<PlayerEntityRenderState>
- 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
- Specified by:
setArmAngle
in interfaceModelWithArms
- Overrides:
setArmAngle
in classBipedEntityModel<PlayerEntityRenderState>
- 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
-
getRandomPart
- 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
Lgcq;a(Lbam;)Lgen;
-
getArmPose
protected BipedEntityModel.ArmPose getArmPose(PlayerEntityRenderState playerEntityRenderState, Arm arm) - Overrides:
getArmPose
in classBipedEntityModel<PlayerEntityRenderState>
- Mappings:
Namespace Name Mixin selector named getArmPose
Lnet/minecraft/client/render/entity/model/PlayerEntityModel;getArmPose(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;Lnet/minecraft/util/Arm;)Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
intermediary method_62111
Lnet/minecraft/class_591;method_62111(Lnet/minecraft/class_10055;Lnet/minecraft/class_1306;)Lnet/minecraft/class_572$class_573;
official a
Lgcq;a(Lgzf;Lbvz;)Lgby$a;
-