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 PartPose
private final PartPose
private final PartPose
private final ModelPart
private final PartPose
final ModelPart
Fields inherited from class net.minecraft.client.model.PlayerModel
jacket, leftPants, leftSleeve, rightPants, rightSleeve
Fields 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_BASE
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addHead
(CubeDeformation pCubeDeformation, MeshDefinition pMesh) static MeshDefinition
createMesh
(CubeDeformation pCubeDeformation) private void
holdWeaponHigh
(T pMob) void
setupAnim
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesprotected void
setupAttackAnimation
(T pLivingEntity, float pAgeInTicks) Methods inherited from class net.minecraft.client.model.PlayerModel
bodyParts, createMesh, getRandomModelPart, renderCloak, renderEars, setAllVisible, translateToHand
Methods inherited from class net.minecraft.client.model.HumanoidModel
copyPropertiesTo, createMesh, getArm, getHead, headParts, prepareMobModel, rotlerpRad
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
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:
setupAnim
in classPlayerModel<T extends Mob>
-
setupAttackAnimation
- Overrides:
setupAttackAnimation
in classHumanoidModel<T extends Mob>
-
holdWeaponHigh
-