Package net.minecraft.client.model
Class PiglinModel<T extends Mob>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.HumanoidModel<T>
net.minecraft.client.model.PlayerModel<T>
net.minecraft.client.model.PiglinModel<T>
- All Implemented Interfaces:
ArmedModel,HeadedModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.HumanoidModel
HumanoidModel.ArmPose -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PartPoseprivate final PartPoseprivate final PartPoseprivate final ModelPartprivate final PartPosefinal ModelPartFields inherited from class net.minecraft.client.model.PlayerModel
jacket, leftPants, leftSleeve, rightPants, rightSleeveFields inherited from class net.minecraft.client.model.HumanoidModel
body, crouching, hat, HAT_OVERLAY_SCALE, head, leftArm, leftArmPose, leftLeg, LEGGINGS_OVERLAY_SCALE, OVERLAY_SCALE, rightArm, rightArmPose, rightLeg, swimAmount, TOOT_HORN_XROT_BASE, TOOT_HORN_YROT_BASEFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddHead(CubeDeformation pCubeDeformation, MeshDefinition pMesh) static MeshDefinitioncreateMesh(CubeDeformation pCubeDeformation) private voidholdWeaponHigh(T pMob) voidsetupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesprotected voidsetupAttackAnimation(T pLivingEntity, float pAgeInTicks) Methods inherited from class net.minecraft.client.model.PlayerModel
bodyParts, createMesh, getRandomModelPart, renderCloak, renderEars, setAllVisible, translateToHandMethods inherited from class net.minecraft.client.model.HumanoidModel
copyPropertiesTo, createMesh, getArm, getHead, headParts, prepareMobModel, rotlerpRadMethods inherited from class net.minecraft.client.model.AgeableListModel
renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesToMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
rightEar
-
leftEar
-
bodyDefault
-
headDefault
-
leftArmDefault
-
rightArmDefault
-
-
Constructor Details
-
PiglinModel
-
-
Method Details
-
createMesh
-
addHead
-
setupAnim
public void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles- Overrides:
setupAnimin classPlayerModel<T extends Mob>
-
setupAttackAnimation
- Overrides:
setupAttackAnimationin classHumanoidModel<T extends Mob>
-
holdWeaponHigh
-