Class PlayerModel<T extends LivingEntity>
java.lang.Object
net.minecraft.client.renderer.model.Model
net.minecraft.client.renderer.entity.model.EntityModel<E>
net.minecraft.client.renderer.entity.model.AgeableModel<T>
net.minecraft.client.renderer.entity.model.BipedModel<T>
net.minecraft.client.renderer.entity.model.PlayerModel<T>
- All Implemented Interfaces:
Consumer<ModelRenderer>
,IHasArm
,IHasHead
- Direct Known Subclasses:
PiglinModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.entity.model.BipedModel
BipedModel.ArmPose
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelRenderer
private List<ModelRenderer>
private final ModelRenderer
final ModelRenderer
final ModelRenderer
final ModelRenderer
final ModelRenderer
final ModelRenderer
private final boolean
Fields inherited from class net.minecraft.client.renderer.entity.model.BipedModel
body, crouching, hat, head, leftArm, leftArmPose, leftLeg, rightArm, rightArmPose, rightLeg, swimAmount
Fields inherited from class net.minecraft.client.renderer.entity.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.renderer.model.Model
renderType, texHeight, texWidth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelRenderer p_accept_1_) protected Iterable<ModelRenderer>
getRandomModelPart
(Random p_228288_1_) void
renderCloak
(MatrixStack p_228289_1_, IVertexBuilder p_228289_2_, int p_228289_3_, int p_228289_4_) void
renderEars
(MatrixStack p_228287_1_, IVertexBuilder p_228287_2_, int p_228287_3_, int p_228287_4_) void
setAllVisible
(boolean p_178719_1_) void
setupAnim
(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_) void
translateToHand
(HandSide p_225599_1_, MatrixStack p_225599_2_) Methods inherited from class net.minecraft.client.renderer.entity.model.BipedModel
copyPropertiesTo, getArm, getAttackArm, getHead, headParts, prepareMobModel, rotlerpRad, setupAttackAnimation
Methods inherited from class net.minecraft.client.renderer.entity.model.AgeableModel
renderToBuffer
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo
Methods inherited from class net.minecraft.client.renderer.model.Model
renderType
-
Field Details
-
cubes
-
leftSleeve
-
rightSleeve
-
leftPants
-
rightPants
-
jacket
-
cloak
-
ear
-
slim
private final boolean slim
-
-
Constructor Details
-
PlayerModel
public PlayerModel(float p_i46304_1_, boolean p_i46304_2_)
-
-
Method Details
-
bodyParts
- Overrides:
bodyParts
in classBipedModel<T extends LivingEntity>
-
renderEars
public void renderEars(MatrixStack p_228287_1_, IVertexBuilder p_228287_2_, int p_228287_3_, int p_228287_4_) -
renderCloak
public void renderCloak(MatrixStack p_228289_1_, IVertexBuilder p_228289_2_, int p_228289_3_, int p_228289_4_) -
setupAnim
public void setupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_) - Overrides:
setupAnim
in classBipedModel<T extends LivingEntity>
-
setAllVisible
public void setAllVisible(boolean p_178719_1_) - Overrides:
setAllVisible
in classBipedModel<T extends LivingEntity>
-
translateToHand
- Specified by:
translateToHand
in interfaceIHasArm
- Overrides:
translateToHand
in classBipedModel<T extends LivingEntity>
-
getRandomModelPart
-
accept
-