Class ParrotEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.CompositeEntityModel<ParrotEntity>
net.minecraft.client.render.entity.model.ParrotEntityModel
@Environment(CLIENT) public class ParrotEntityModel extends CompositeEntityModel<ParrotEntity>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ParrotEntityModel.Pose
-
Field Summary
Fields Modifier and Type Field Description private ModelPart
forehead
private ModelPart
head
private ModelPart
headFeathers
private ModelPart
innerBeak
private ModelPart
leftLeg
private ModelPart
leftWing
private ModelPart
outerBeak
private ModelPart
rightLeg
private ModelPart
rightWing
private ModelPart
tail
private ModelPart
torso
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory, textureHeight, textureWidth
-
Constructor Summary
Constructors Constructor Description ParrotEntityModel()
-
Method Summary
Modifier and Type Method Description private void
animateModel(ParrotEntityModel.Pose pose)
void
animateModel(ParrotEntity parrotEntity, float float2, float float3, float float4)
Iterable<ModelPart>
getParts()
private static ParrotEntityModel.Pose
getPose(ParrotEntity parrot)
void
poseOnShoulder(MatrixStack matrices, VertexConsumer vertexConsumer, int light, int overlay, float limbAngle, float limbDistance, float headYaw, float headPitch, int danceAngle)
private void
setAngles(ParrotEntityModel.Pose pose, int danceAngle, float limbAngle, float limbDistance, float age, float headYaw, float headPitch)
void
setAngles(ParrotEntity parrotEntity, float float2, float float3, float float4, float float5, float float6)
Methods inherited from class net.minecraft.client.render.entity.model.CompositeEntityModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
torso
-
tail
-
leftWing
-
rightWing
-
head
-
forehead
-
innerBeak
-
outerBeak
-
headFeathers
-
leftLeg
-
rightLeg
-
-
Constructor Details
-
ParrotEntityModel
public ParrotEntityModel()
-
-
Method Details
-
getParts
- Specified by:
getParts
in classCompositeEntityModel<ParrotEntity>
-
setAngles
public void setAngles(ParrotEntity parrotEntity, float float2, float float3, float float4, float float5, float float6)- Specified by:
setAngles
in classEntityModel<ParrotEntity>
-
animateModel
- Overrides:
animateModel
in classEntityModel<ParrotEntity>
-
poseOnShoulder
public void poseOnShoulder(MatrixStack matrices, VertexConsumer vertexConsumer, int light, int overlay, float limbAngle, float limbDistance, float headYaw, float headPitch, int danceAngle) -
setAngles
private void setAngles(ParrotEntityModel.Pose pose, int danceAngle, float limbAngle, float limbDistance, float age, float headYaw, float headPitch) -
animateModel
-
getPose
-