Package net.minecraft.client.model
Class HumanoidModel<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>
- All Implemented Interfaces:
- ArmedModel,- HeadedModel
- Direct Known Subclasses:
- AbstractZombieModel,- ArmorStandArmorModel,- EndermanModel,- HumanoidArmorModel,- PlayerModel,- SkeletonModel,- ZombieVillagerModel
public class HumanoidModel<T extends LivingEntity>
extends AgeableListModel<T>
implements ArmedModel, HeadedModel
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal ModelPartbooleanprivate static final floatfinal ModelPartstatic final floatfinal ModelPartprivate static final floatprivate static final floatfinal ModelPartfinal ModelPartstatic final floatprivate static final floatstatic final floatfinal ModelPartfinal ModelPartprivate static final floatprivate static final floatprivate static final floatfloatstatic final floatstatic final floatFields inherited from class net.minecraft.client.model.EntityModelattackTime, riding, youngFields inherited from class net.minecraft.client.model.ModelrenderType
- 
Constructor SummaryConstructorsConstructorDescriptionHumanoidModel(ModelPart p_170677_) HumanoidModel(ModelPart p_170679_, Function<ResourceLocation, RenderType> p_170680_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcopyPropertiesTo(HumanoidModel<T> p_102873_) static MeshDefinitioncreateMesh(CubeDeformation p_170682_, float p_170683_) protected ModelPartgetArm(HumanoidArm p_102852_) private HumanoidArmgetAttackArm(T p_102857_) getHead()private voidposeBlockingArm(ModelPart p_304530_, boolean p_304416_) private voidposeLeftArm(T p_102879_) private voidposeRightArm(T p_102876_) voidprepareMobModel(T p_102861_, float p_102862_, float p_102863_, float p_102864_) private floatquadraticArmUpdate(float p_102834_) protected floatrotlerpRad(float p_102836_, float p_102837_, float p_102838_) voidsetAllVisible(boolean p_102880_) voidsetupAnim(T p_102866_, float p_102867_, float p_102868_, float p_102869_, float p_102870_, float p_102871_) protected voidsetupAttackAnimation(T p_102858_, float p_102859_) voidtranslateToHand(HumanoidArm p_102854_, PoseStack p_102855_) Methods inherited from class net.minecraft.client.model.AgeableListModelrenderToBufferMethods inherited from class net.minecraft.client.model.EntityModelcopyPropertiesToMethods inherited from class net.minecraft.client.model.ModelrenderType
- 
Field Details- 
OVERLAY_SCALEpublic static final float OVERLAY_SCALE- See Also:
 
- 
HAT_OVERLAY_SCALEpublic static final float HAT_OVERLAY_SCALE- See Also:
 
- 
LEGGINGS_OVERLAY_SCALEpublic static final float LEGGINGS_OVERLAY_SCALE- See Also:
 
- 
DUCK_WALK_ROTATIONprivate static final float DUCK_WALK_ROTATION- See Also:
 
- 
SPYGLASS_ARM_ROT_Yprivate static final float SPYGLASS_ARM_ROT_Y- See Also:
 
- 
SPYGLASS_ARM_ROT_Xprivate static final float SPYGLASS_ARM_ROT_X- See Also:
 
- 
SPYGLASS_ARM_CROUCH_ROT_Xprivate static final float SPYGLASS_ARM_CROUCH_ROT_X- See Also:
 
- 
HIGHEST_SHIELD_BLOCKING_ANGLEprivate static final float HIGHEST_SHIELD_BLOCKING_ANGLE- See Also:
 
- 
LOWEST_SHIELD_BLOCKING_ANGLEprivate static final float LOWEST_SHIELD_BLOCKING_ANGLE- See Also:
 
- 
HORIZONTAL_SHIELD_MOVEMENT_LIMITprivate static final float HORIZONTAL_SHIELD_MOVEMENT_LIMIT- See Also:
 
- 
TOOT_HORN_XROT_BASEpublic static final float TOOT_HORN_XROT_BASE- See Also:
 
- 
TOOT_HORN_YROT_BASEpublic static final float TOOT_HORN_YROT_BASE- See Also:
 
- 
head
- 
hat
- 
body
- 
rightArm
- 
leftArm
- 
rightLeg
- 
leftLeg
- 
leftArmPose
- 
rightArmPose
- 
crouchingpublic boolean crouching
- 
swimAmountpublic float swimAmount
 
- 
- 
Constructor Details- 
HumanoidModel
- 
HumanoidModel
 
- 
- 
Method Details- 
createMesh
- 
headParts- Specified by:
- headPartsin class- AgeableListModel<T extends LivingEntity>
 
- 
bodyParts- Specified by:
- bodyPartsin class- AgeableListModel<T extends LivingEntity>
 
- 
prepareMobModel- Overrides:
- prepareMobModelin class- EntityModel<T extends LivingEntity>
 
- 
setupAnimpublic void setupAnim(T p_102866_, float p_102867_, float p_102868_, float p_102869_, float p_102870_, float p_102871_) - Specified by:
- setupAnimin class- EntityModel<T extends LivingEntity>
 
- 
poseRightArm
- 
poseLeftArm
- 
poseBlockingArm
- 
setupAttackAnimation
- 
rotlerpRadprotected float rotlerpRad(float p_102836_, float p_102837_, float p_102838_) 
- 
quadraticArmUpdateprivate float quadraticArmUpdate(float p_102834_) 
- 
copyPropertiesTo
- 
setAllVisiblepublic void setAllVisible(boolean p_102880_) 
- 
translateToHand- Specified by:
- translateToHandin interface- ArmedModel
 
- 
getArm
- 
getHead- Specified by:
- getHeadin interface- HeadedModel
 
- 
getAttackArm
 
-