Package net.minecraft.client.model
Class ParrotModel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPartprivate final ModelPartprivate static final Stringprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate 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 LayerDefinitionprivate static ParrotModel.Stateprivate voidprepare(ParrotModel.State state) voidprepareMobModel(Parrot entity, float limbSwing, float limbSwingAmount, float partialTick) voidrenderOnShoulder(PoseStack poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, float limbSwing, float limbSwingAmount, float netHeadYaw, float headPitch, int tickCount) root()private voidsetupAnim(ParrotModel.State state, int tickCount, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) voidsetupAnim(Parrot entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation anglesMethods 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
copyPropertiesToMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
FEATHER
- See Also:
-
root
-
body
-
tail
-
leftWing
-
rightWing
-
head
-
feather
-
leftLeg
-
rightLeg
-
-
Constructor Details
-
ParrotModel
-
-
Method Details
-
createBodyLayer
-
root
- Specified by:
rootin classHierarchicalModel<Parrot>
-
setupAnim
public void setupAnim(Parrot entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Specified by:
setupAnimin classEntityModel<Parrot>
-
prepareMobModel
public void prepareMobModel(Parrot entity, float limbSwing, float limbSwingAmount, float partialTick) - Overrides:
prepareMobModelin classEntityModel<Parrot>
-
renderOnShoulder
public void renderOnShoulder(PoseStack poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, float limbSwing, float limbSwingAmount, float netHeadYaw, float headPitch, int tickCount) -
setupAnim
private void setupAnim(ParrotModel.State state, int tickCount, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) -
prepare
-
getState
-