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 ModelPart
private static String
private ModelPart
private static String
private static String
private static String
private static String
private static String
private 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
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(Random p_103407_)
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:
- Constant Field Values
-
CLOAK
- See Also:
- Constant Field Values
-
LEFT_SLEEVE
- See Also:
- Constant Field Values
-
RIGHT_SLEEVE
- See Also:
- Constant Field Values
-
LEFT_PANTS
- See Also:
- Constant Field Values
-
RIGHT_PANTS
- See Also:
- Constant Field Values
-
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
public void renderEars(PoseStack p_103402_, VertexConsumer p_103403_, int p_103404_, int p_103405_) -
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
-