Package net.minecraft.client.model
Class PlayerModel
java.lang.Object
- All Implemented Interfaces:
ArmedModel<AvatarRenderState>,HeadedModel
- Direct Known Subclasses:
PlayerCapeModel,PlayerEarsModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.HumanoidModel
HumanoidModel.ArmPoseNested classes/interfaces inherited from class net.minecraft.client.model.Model
Model.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ModelPartprotected static final Stringprotected static final Stringfinal ModelPartfinal ModelPartprotected static final Stringprotected static final Stringfinal ModelPartfinal ModelPartprivate final booleanFields inherited from class net.minecraft.client.model.HumanoidModel
BABY_TRANSFORMER, body, hat, HAT_OVERLAY_SCALE, head, leftArm, leftLeg, LEGGINGS_OVERLAY_SCALE, OVERLAY_SCALE, rightArm, rightLeg, TOOT_HORN_XROT_BASE, TOOT_HORN_YROT_BASEFields inherited from class net.minecraft.client.model.EntityModel
MODEL_Y_OFFSETFields inherited from class net.minecraft.client.model.Model
renderType, root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ArmorModelSet<MeshDefinition> createArmorMeshSet(CubeDeformation pInnerCubeDeformation, CubeDeformation pOuterCubeDeformation) static MeshDefinitioncreateMesh(CubeDeformation pCubeDeformation, boolean pSlim) getRandomBodyPart(RandomSource pRandom) voidsetAllVisible(boolean pVisible) voidsetupAnim(AvatarRenderState p_446620_) voidtranslateToHand(AvatarRenderState p_445532_, HumanoidArm p_103392_, PoseStack p_103393_) Methods inherited from class net.minecraft.client.model.HumanoidModel
createArmorMeshSet, createMesh, getArm, getHead, setupAttackAnimation, translateToHandMethods inherited from class net.minecraft.client.model.Model
allParts, getAnimation, renderToBuffer, renderToBuffer, renderType, resetPose, rootMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.model.HeadedModel
translateToHead
-
Field Details
-
LEFT_SLEEVE
- See Also:
-
RIGHT_SLEEVE
- See Also:
-
LEFT_PANTS
- See Also:
-
RIGHT_PANTS
- See Also:
-
bodyParts
-
leftSleeve
-
rightSleeve
-
leftPants
-
rightPants
-
jacket
-
slim
private final boolean slim
-
-
Constructor Details
-
PlayerModel
-
-
Method Details
-
createMesh
-
createArmorMeshSet
public static ArmorModelSet<MeshDefinition> createArmorMeshSet(CubeDeformation pInnerCubeDeformation, CubeDeformation pOuterCubeDeformation) -
setupAnim
- Overrides:
setupAnimin classHumanoidModel<AvatarRenderState>
-
setAllVisible
public void setAllVisible(boolean pVisible) - Overrides:
setAllVisiblein classHumanoidModel<AvatarRenderState>
-
translateToHand
public void translateToHand(AvatarRenderState p_445532_, HumanoidArm p_103392_, PoseStack p_103393_) -
getRandomBodyPart
-