Package net.minecraft.client.model
Class PlayerModel<T extends LivingEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.HumanoidModel<T>
net.minecraft.client.model.PlayerModel<T>
- All Implemented Interfaces:
ArmedModel
,HeadedModel
- Direct Known Subclasses:
PiglinModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.HumanoidModel
HumanoidModel.ArmPose
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private static final String
private final ModelPart
private static final String
final ModelPart
private static final String
private static final String
final ModelPart
final ModelPart
private static final String
private static final String
final ModelPart
final ModelPart
private final boolean
Fields inherited from class net.minecraft.client.model.HumanoidModel
body, crouching, hat, HAT_OVERLAY_SCALE, head, leftArm, leftArmPose, leftLeg, OVERLAY_SCALE, rightArm, rightArmPose, rightLeg, swimAmount, TOOT_HORN_XROT_BASE, TOOT_HORN_YROT_BASE
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinition
createMesh
(CubeDeformation p_170826_, boolean p_170827_) getRandomModelPart
(RandomSource p_233439_) void
renderCloak
(PoseStack p_103412_, VertexConsumer p_103413_, int p_103414_, int p_103415_) void
renderEars
(PoseStack p_103402_, VertexConsumer p_103403_, int p_103404_, int p_103405_) void
setAllVisible
(boolean p_103419_) void
setupAnim
(T p_103395_, float p_103396_, float p_103397_, float p_103398_, float p_103399_, float p_103400_) void
translateToHand
(HumanoidArm p_103392_, PoseStack p_103393_) Methods inherited from class net.minecraft.client.model.HumanoidModel
copyPropertiesTo, createMesh, getArm, getHead, headParts, prepareMobModel, rotlerpRad, setupAttackAnimation
Methods inherited from class net.minecraft.client.model.AgeableListModel
renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo
Methods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
EAR
- See Also:
-
CLOAK
- See Also:
-
LEFT_SLEEVE
- See Also:
-
RIGHT_SLEEVE
- See Also:
-
LEFT_PANTS
- See Also:
-
RIGHT_PANTS
- See Also:
-
parts
-
leftSleeve
-
rightSleeve
-
leftPants
-
rightPants
-
jacket
-
cloak
-
ear
-
slim
private final boolean slim
-
-
Constructor Details
-
PlayerModel
-
-
Method Details
-
createMesh
-
bodyParts
- Overrides:
bodyParts
in classHumanoidModel<T extends LivingEntity>
-
renderEars
-
renderCloak
public void renderCloak(PoseStack p_103412_, VertexConsumer p_103413_, int p_103414_, int p_103415_) -
setupAnim
public void setupAnim(T p_103395_, float p_103396_, float p_103397_, float p_103398_, float p_103399_, float p_103400_) - Overrides:
setupAnim
in classHumanoidModel<T extends LivingEntity>
-
setAllVisible
public void setAllVisible(boolean p_103419_) - Overrides:
setAllVisible
in classHumanoidModel<T extends LivingEntity>
-
translateToHand
- Specified by:
translateToHand
in interfaceArmedModel
- Overrides:
translateToHand
in classHumanoidModel<T extends LivingEntity>
-
getRandomModelPart
-