Package net.minecraft.client.model
Class ParrotModel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private static final String
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
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
private static ParrotModel.State
private void
prepare
(ParrotModel.State pState) void
prepareMobModel
(Parrot pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) void
renderOnShoulder
(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, float pLimbSwing, float pLimbSwingAmount, float pNetHeadYaw, float pHeadPitch, int pTickCount) root()
private void
setupAnim
(ParrotModel.State pState, int pTickCount, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) void
setupAnim
(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, renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo
Methods 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:
root
in 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:
setupAnim
in classEntityModel<Parrot>
-
prepareMobModel
public void prepareMobModel(Parrot pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) - Overrides:
prepareMobModel
in 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
-