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 SummaryNested classes/interfaces inherited from class net.minecraft.client.model.HumanoidModelHumanoidModel.ArmPose
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ModelPartprivate static final Stringprivate final ModelPartprivate static final Stringfinal ModelPartprivate static final Stringprivate static final Stringfinal ModelPartfinal ModelPartprivate static final Stringprivate static final Stringfinal ModelPartfinal ModelPartprivate final booleanFields inherited from class net.minecraft.client.model.HumanoidModelbody, crouching, hat, HAT_OVERLAY_SCALE, head, leftArm, leftArmPose, leftLeg, LEGGINGS_OVERLAY_SCALE, OVERLAY_SCALE, rightArm, rightArmPose, rightLeg, swimAmount, TOOT_HORN_XROT_BASE, TOOT_HORN_YROT_BASEFields inherited from class net.minecraft.client.model.EntityModelattackTime, riding, youngFields inherited from class net.minecraft.client.model.ModelrenderType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic MeshDefinitioncreateMesh(CubeDeformation p_170826_, boolean p_170827_) getRandomModelPart(RandomSource p_233439_) voidrenderCloak(PoseStack p_103412_, VertexConsumer p_103413_, int p_103414_, int p_103415_) voidrenderEars(PoseStack p_103402_, VertexConsumer p_103403_, int p_103404_, int p_103405_) voidsetAllVisible(boolean p_103419_) voidsetupAnim(T p_103395_, float p_103396_, float p_103397_, float p_103398_, float p_103399_, float p_103400_) voidtranslateToHand(HumanoidArm p_103392_, PoseStack p_103393_) Methods inherited from class net.minecraft.client.model.HumanoidModelcopyPropertiesTo, createMesh, getArm, getHead, headParts, prepareMobModel, rotlerpRad, setupAttackAnimationMethods inherited from class net.minecraft.client.model.AgeableListModelrenderToBufferMethods inherited from class net.minecraft.client.model.EntityModelcopyPropertiesToMethods inherited from class net.minecraft.client.model.ModelrenderType
- 
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
- 
slimprivate final boolean slim
 
- 
- 
Constructor Details- 
PlayerModel
 
- 
- 
Method Details- 
createMesh
- 
bodyParts- Overrides:
- bodyPartsin class- HumanoidModel<T extends LivingEntity>
 
- 
renderEars
- 
renderCloakpublic void renderCloak(PoseStack p_103412_, VertexConsumer p_103413_, int p_103414_, int p_103415_) 
- 
setupAnimpublic void setupAnim(T p_103395_, float p_103396_, float p_103397_, float p_103398_, float p_103399_, float p_103400_) - Overrides:
- setupAnimin class- HumanoidModel<T extends LivingEntity>
 
- 
setAllVisiblepublic void setAllVisible(boolean p_103419_) - Overrides:
- setAllVisiblein class- HumanoidModel<T extends LivingEntity>
 
- 
translateToHand- Specified by:
- translateToHandin interface- ArmedModel
- Overrides:
- translateToHandin class- HumanoidModel<T extends LivingEntity>
 
- 
getRandomModelPart
 
-