Package net.minecraft.client.model
Class PlayerModel
java.lang.Object
- All Implemented Interfaces:
ArmedModel
,HeadedModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.HumanoidModel
HumanoidModel.ArmPose
Nested classes/interfaces inherited from class net.minecraft.client.model.Model
Model.Simple
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal 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
BABY_TRANSFORMER, body, hat, HAT_OVERLAY_SCALE, head, leftArm, leftLeg, LEGGINGS_OVERLAY_SCALE, OVERLAY_SCALE, rightArm, rightLeg, TOOT_HORN_XROT_BASE, TOOT_HORN_YROT_BASE
Fields inherited from class net.minecraft.client.model.EntityModel
MODEL_Y_OFFSET
Fields inherited from class net.minecraft.client.model.Model
renderType, root
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinition
createMesh
(CubeDeformation pCubeDeformation, boolean pSlim) getRandomBodyPart
(RandomSource pRandom) void
setAllVisible
(boolean pVisible) void
setupAnim
(PlayerRenderState pRenderState) void
translateToHand
(HumanoidArm pSide, PoseStack pPoseStack) Methods inherited from class net.minecraft.client.model.HumanoidModel
copyPropertiesTo, createMesh, getArm, getHead, setupAttackAnimation
Methods inherited from class net.minecraft.client.model.Model
allParts, getAnimation, renderToBuffer, renderToBuffer, renderType, resetPose, root
-
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
-
setupAnim
- Overrides:
setupAnim
in classHumanoidModel<PlayerRenderState>
-
setAllVisible
public void setAllVisible(boolean pVisible) - Overrides:
setAllVisible
in classHumanoidModel<PlayerRenderState>
-
translateToHand
- Specified by:
translateToHand
in interfaceArmedModel
- Overrides:
translateToHand
in classHumanoidModel<PlayerRenderState>
-
getRandomBodyPart
-