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 pState) voidprepareMobModel(Parrot pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) voidrenderOnShoulder(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, float pLimbSwing, float pLimbSwingAmount, float pNetHeadYaw, float pHeadPitch, int pTickCount) root()private voidsetupAnim(ParrotModel.State pState, int pTickCount, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) voidsetupAnim(Parrot pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) 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 pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles- Specified by:
setupAnimin classEntityModel<Parrot>
-
prepareMobModel
public void prepareMobModel(Parrot pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) - Overrides:
prepareMobModelin classEntityModel<Parrot>
-
renderOnShoulder
public void renderOnShoulder(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, float pLimbSwing, float pLimbSwingAmount, float pNetHeadYaw, float pHeadPitch, int pTickCount) -
setupAnim
private void setupAnim(ParrotModel.State pState, int pTickCount, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) -
prepare
-
getState
-