Package net.minecraft.client.model
Class AllayModel
- All Implemented Interfaces:
ArmedModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPartprivate static final floatprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate static final floatprivate static final floatprivate final ModelPartprivate final ModelPartprivate final ModelPartFields 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 LayerDefinitionroot()voidsetupAnim(Allay entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation anglesvoidtranslateToHand(HumanoidArm side, PoseStack poseStack) Methods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animate, animate, animateWalk, animateWalk, applyStatic, applyStatic, getAnimation, getAnyDescendantWithName, renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
root
-
head
-
body
-
right_arm
-
left_arm
-
right_wing
-
left_wing
-
FLYING_ANIMATION_X_ROT
private static final float FLYING_ANIMATION_X_ROT- See Also:
-
MAX_HAND_HOLDING_ITEM_X_ROT_RAD
private static final float MAX_HAND_HOLDING_ITEM_X_ROT_RAD- See Also:
-
MIN_HAND_HOLDING_ITEM_X_ROT_RAD
private static final float MIN_HAND_HOLDING_ITEM_X_ROT_RAD- See Also:
-
-
Constructor Details
-
AllayModel
-
-
Method Details
-
root
- Specified by:
rootin classHierarchicalModel<Allay>
-
createBodyLayer
-
setupAnim
public void setupAnim(Allay entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Specified by:
setupAnimin classEntityModel<Allay>
-
translateToHand
- Specified by:
translateToHandin interfaceArmedModel
-