Package net.minecraft.client.model
Class SkeletonModel<T extends Mob & RangedAttackMob>
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.SkeletonModel<T>
- All Implemented Interfaces:
ArmedModel
,HeadedModel
- Direct Known Subclasses:
BoggedModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.HumanoidModel
HumanoidModel.ArmPose
-
Field Summary
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 LayerDefinition
protected static void
createDefaultSkeletonMesh
(PartDefinition partDefinition) void
prepareMobModel
(T entity, float limbSwing, float limbSwingAmount, float partialTick) void
setupAnim
(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation anglesvoid
translateToHand
(HumanoidArm side, PoseStack poseStack) Methods inherited from class net.minecraft.client.model.HumanoidModel
bodyParts, copyPropertiesTo, createMesh, getArm, getHead, headParts, rotlerpRad, setAllVisible, setupAttackAnimation
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
-
Constructor Details
-
SkeletonModel
-
-
Method Details
-
createBodyLayer
-
createDefaultSkeletonMesh
-
prepareMobModel
- Overrides:
prepareMobModel
in classHumanoidModel<T extends Mob & RangedAttackMob>
-
setupAnim
public void setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Overrides:
setupAnim
in classHumanoidModel<T extends Mob & RangedAttackMob>
-
translateToHand
- Specified by:
translateToHand
in interfaceArmedModel
- Overrides:
translateToHand
in classHumanoidModel<T extends Mob & RangedAttackMob>
-