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 state) void
prepareMobModel
(Parrot entity, float limbSwing, float limbSwingAmount, float partialTick) void
renderOnShoulder
(PoseStack poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, float limbSwing, float limbSwingAmount, float netHeadYaw, float headPitch, int tickCount) root()
private void
setupAnim
(ParrotModel.State state, int tickCount, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) void
setupAnim
(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, 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 entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Specified by:
setupAnim
in classEntityModel<Parrot>
-
prepareMobModel
public void prepareMobModel(Parrot entity, float limbSwing, float limbSwingAmount, float partialTick) - Overrides:
prepareMobModel
in 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
-