Class PlayerEntityModel<T extends LivingEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.BipedEntityModel<T>
net.minecraft.client.render.entity.model.PlayerEntityModel<T>
- All Implemented Interfaces:
ModelWithArms,ModelWithHead
- Direct Known Subclasses:
PiglinEntityModel
@Environment(CLIENT) public class PlayerEntityModel<T extends LivingEntity> extends BipedEntityModel<T>
- Mappings:
Namespace Name official edmintermediary net/minecraft/class_591named net/minecraft/client/render/entity/model/PlayerEntityModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
BipedEntityModel.ArmPose -
Field Summary
Fields Modifier and Type Field Description private ModelPartcloakprivate ModelPartearModelPartjacketModelPartleftPantsModelPartleftSleeveprivate List<ModelPart>partsAll the parts.ModelPartrightPantsModelPartrightSleeveprivate booleanthinArmsFields inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
body, hat, head, leaningPitch, leftArm, leftArmPose, leftLeg, rightArm, rightArmPose, rightLeg, sneakingFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Constructor Description PlayerEntityModel(ModelPart root, boolean thinArms) -
Method Summary
Modifier and Type Method Description protected Iterable<ModelPart>getBodyParts()ModelPartgetRandomPart(Random random)static ModelDatagetTexturedModelData(Dilation dilation, boolean slim)voidrenderCape(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)voidrenderEars(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)voidsetAngles(T t, float float2, float float3, float float4, float float5, float float6)voidsetArmAngle(Arm arm, MatrixStack matrices)voidsetVisible(boolean visible)Methods inherited from class net.minecraft.client.render.entity.model.BipedEntityModel
animateArms, animateModel, getArm, getHead, getHeadParts, getModelData, lerpAngle, setAttributesMethods inherited from class net.minecraft.client.render.entity.model.AnimalModel
renderMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
parts
All the parts. Used when picking a part to render stuck arrows.- Mappings:
Namespace Name Mixin selector official aLedm;a:Ljava/util/List;intermediary field_27466Lnet/minecraft/class_591;field_27466:Ljava/util/List;named partsLnet/minecraft/client/render/entity/model/PlayerEntityModel;parts:Ljava/util/List;
-
leftSleeve
- Mappings:
Namespace Name Mixin selector official bLedm;b:Lefb;intermediary field_3484Lnet/minecraft/class_591;field_3484:Lnet/minecraft/class_630;named leftSleeveLnet/minecraft/client/render/entity/model/PlayerEntityModel;leftSleeve:Lnet/minecraft/client/model/ModelPart;
-
rightSleeve
- Mappings:
Namespace Name Mixin selector official rLedm;r:Lefb;intermediary field_3486Lnet/minecraft/class_591;field_3486:Lnet/minecraft/class_630;named rightSleeveLnet/minecraft/client/render/entity/model/PlayerEntityModel;rightSleeve:Lnet/minecraft/client/model/ModelPart;
-
leftPants
- Mappings:
Namespace Name Mixin selector official sLedm;s:Lefb;intermediary field_3482Lnet/minecraft/class_591;field_3482:Lnet/minecraft/class_630;named leftPantsLnet/minecraft/client/render/entity/model/PlayerEntityModel;leftPants:Lnet/minecraft/client/model/ModelPart;
-
rightPants
- Mappings:
Namespace Name Mixin selector official tLedm;t:Lefb;intermediary field_3479Lnet/minecraft/class_591;field_3479:Lnet/minecraft/class_630;named rightPantsLnet/minecraft/client/render/entity/model/PlayerEntityModel;rightPants:Lnet/minecraft/client/model/ModelPart;
-
jacket
- Mappings:
Namespace Name Mixin selector official uLedm;u:Lefb;intermediary field_3483Lnet/minecraft/class_591;field_3483:Lnet/minecraft/class_630;named jacketLnet/minecraft/client/render/entity/model/PlayerEntityModel;jacket:Lnet/minecraft/client/model/ModelPart;
-
cloak
- Mappings:
Namespace Name Mixin selector official vLedm;v:Lefb;intermediary field_3485Lnet/minecraft/class_591;field_3485:Lnet/minecraft/class_630;named cloakLnet/minecraft/client/render/entity/model/PlayerEntityModel;cloak:Lnet/minecraft/client/model/ModelPart;
-
ear
- Mappings:
Namespace Name Mixin selector official wLedm;w:Lefb;intermediary field_3481Lnet/minecraft/class_591;field_3481:Lnet/minecraft/class_630;named earLnet/minecraft/client/render/entity/model/PlayerEntityModel;ear:Lnet/minecraft/client/model/ModelPart;
-
thinArms
private final boolean thinArms- Mappings:
Namespace Name Mixin selector official xLedm;x:Zintermediary field_3480Lnet/minecraft/class_591;field_3480:Znamed thinArmsLnet/minecraft/client/render/entity/model/PlayerEntityModel;thinArms:Z
-
-
Constructor Details
-
PlayerEntityModel
- Mappings:
Namespace Name Mixin selector official <init>Ledm;<init>(Lefb;Z)Vintermediary <init>Lnet/minecraft/class_591;<init>(Lnet/minecraft/class_630;Z)Vnamed <init>Lnet/minecraft/client/render/entity/model/PlayerEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;Z)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official aLedm;a(Leff;Z)Lefj;intermediary method_32028Lnet/minecraft/class_591;method_32028(Lnet/minecraft/class_5605;Z)Lnet/minecraft/class_5609;named getTexturedModelDataLnet/minecraft/client/render/entity/model/PlayerEntityModel;getTexturedModelData(Lnet/minecraft/client/model/Dilation;Z)Lnet/minecraft/client/model/ModelData;
-
getBodyParts
- Overrides:
getBodyPartsin classBipedEntityModel<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector official bLebn;b()Ljava/lang/Iterable;intermediary method_22948Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;named getBodyPartsLnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
-
renderEars
- Mappings:
Namespace Name Mixin selector official aLedm;a(Ldnl;Ldnp;II)Vintermediary method_2824Lnet/minecraft/class_591;method_2824(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)Vnamed renderEarsLnet/minecraft/client/render/entity/model/PlayerEntityModel;renderEars(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)V
-
renderCape
- Mappings:
Namespace Name Mixin selector official bLedm;b(Ldnl;Ldnp;II)Vintermediary method_2823Lnet/minecraft/class_591;method_2823(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)Vnamed renderCapeLnet/minecraft/client/render/entity/model/PlayerEntityModel;renderCape(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)V
-
setAngles
- Overrides:
setAnglesin classBipedEntityModel<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector official method_17087Ledm;method_17087(Lasb;FFFFF)Vintermediary method_17087Lnet/minecraft/class_591;method_17087(Lnet/minecraft/class_1309;FFFFF)Vnamed setAnglesLnet/minecraft/client/render/entity/model/PlayerEntityModel;setAngles(Lnet/minecraft/entity/LivingEntity;FFFFF)V
-
setVisible
public void setVisible(boolean visible)- Overrides:
setVisiblein classBipedEntityModel<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector official d_Lecv;d_(Z)Vintermediary method_2805Lnet/minecraft/class_572;method_2805(Z)Vnamed setVisibleLnet/minecraft/client/render/entity/model/BipedEntityModel;setVisible(Z)V
-
setArmAngle
- Specified by:
setArmAnglein interfaceModelWithArms- Overrides:
setArmAnglein classBipedEntityModel<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector official aLebp;a(Larx;Ldnl;)Vintermediary method_2803Lnet/minecraft/class_3881;method_2803(Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;)Vnamed setArmAngleLnet/minecraft/client/render/entity/model/ModelWithArms;setArmAngle(Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;)V
-
getRandomPart
- Mappings:
Namespace Name Mixin selector official aLedm;a(Ljava/util/Random;)Lefb;intermediary method_22697Lnet/minecraft/class_591;method_22697(Ljava/util/Random;)Lnet/minecraft/class_630;named getRandomPartLnet/minecraft/client/render/entity/model/PlayerEntityModel;getRandomPart(Ljava/util/Random;)Lnet/minecraft/client/model/ModelPart;
-