Class ParrotEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.SinglePartEntityModel<ParrotEntity>
net.minecraft.client.render.entity.model.ParrotEntityModel
@Environment(CLIENT) public class ParrotEntityModel extends SinglePartEntityModel<ParrotEntity>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParrotEntityModel.Pose -
Field Summary
Fields Modifier and Type Field Description private ModelPartbodyprivate ModelPartfeatherprivate ModelPartheadprivate ModelPartleftLegprivate ModelPartleftWingprivate ModelPartrightLegprivate ModelPartrightWingprivate ModelPartrootprivate ModelParttailFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Constructor Description ParrotEntityModel(ModelPart root) -
Method Summary
Modifier and Type Method Description private voidanimateModel(ParrotEntityModel.Pose pose)voidanimateModel(ParrotEntity parrotEntity, float float2, float float3, float float4)ModelPartgetPart()private static ParrotEntityModel.PosegetPose(ParrotEntity parrot)static TexturedModelDatagetTexturedModelData()voidposeOnShoulder(MatrixStack matrices, VertexConsumer vertexConsumer, int light, int overlay, float limbAngle, float limbDistance, float headYaw, float headPitch, int danceAngle)private voidsetAngles(ParrotEntityModel.Pose pose, int danceAngle, float limbAngle, float limbDistance, float age, float headYaw, float headPitch)voidsetAngles(ParrotEntity parrotEntity, float float2, float float3, float float4, float float5, float float6)Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
renderMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
root
-
body
-
tail
-
leftWing
-
rightWing
-
head
-
feather
-
leftLeg
-
rightLeg
-
-
Constructor Details
-
ParrotEntityModel
-
-
Method Details
-
getTexturedModelData
-
getPart
- Specified by:
getPartin classSinglePartEntityModel<ParrotEntity>
-
setAngles
public void setAngles(ParrotEntity parrotEntity, float float2, float float3, float float4, float float5, float float6)- Specified by:
setAnglesin classEntityModel<ParrotEntity>
-
animateModel
- Overrides:
animateModelin 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
-