public class ParrotModel extends SegmentedModel<ParrotEntity>
Modifier and Type | Class and Description |
---|---|
static class |
ParrotModel.State |
Modifier and Type | Field and Description |
---|---|
private ModelRenderer |
beak1 |
private ModelRenderer |
beak2 |
private ModelRenderer |
body |
private ModelRenderer |
feather |
private ModelRenderer |
head |
private ModelRenderer |
head2 |
private ModelRenderer |
legLeft |
private ModelRenderer |
legRight |
private ModelRenderer |
tail |
private ModelRenderer |
wingLeft |
private ModelRenderer |
wingRight |
isChild, isSitting, swingProgress
renderType, textureHeight, textureWidth
Constructor and Description |
---|
ParrotModel() |
Modifier and Type | Method and Description |
---|---|
private static ParrotModel.State |
getParrotState(ParrotEntity p_217158_0_) |
java.lang.Iterable<ModelRenderer> |
getParts() |
void |
renderOnShoulder(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
int packedLightIn,
int packedOverlayIn,
float p_228284_5_,
float p_228284_6_,
float p_228284_7_,
float p_228284_8_,
int p_228284_9_) |
void |
setLivingAnimations(ParrotEntity entityIn,
float limbSwing,
float limbSwingAmount,
float partialTick) |
private void |
setLivingAnimations(ParrotModel.State p_217160_1_) |
void |
setRotationAngles(ParrotEntity entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch) |
private void |
setRotationAngles(ParrotModel.State p_217162_1_,
int p_217162_2_,
float p_217162_3_,
float p_217162_4_,
float p_217162_5_,
float p_217162_6_,
float p_217162_7_) |
render
copyModelAttributesTo
accept, getRenderType
private final ModelRenderer body
private final ModelRenderer tail
private final ModelRenderer wingLeft
private final ModelRenderer wingRight
private final ModelRenderer head
private final ModelRenderer head2
private final ModelRenderer beak1
private final ModelRenderer beak2
private final ModelRenderer feather
private final ModelRenderer legLeft
private final ModelRenderer legRight
public java.lang.Iterable<ModelRenderer> getParts()
getParts
in class SegmentedModel<ParrotEntity>
public void setRotationAngles(ParrotEntity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
setRotationAngles
in class EntityModel<ParrotEntity>
public void setLivingAnimations(ParrotEntity entityIn, float limbSwing, float limbSwingAmount, float partialTick)
setLivingAnimations
in class EntityModel<ParrotEntity>
public void renderOnShoulder(MatrixStack matrixStackIn, IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn, float p_228284_5_, float p_228284_6_, float p_228284_7_, float p_228284_8_, int p_228284_9_)
private void setRotationAngles(ParrotModel.State p_217162_1_, int p_217162_2_, float p_217162_3_, float p_217162_4_, float p_217162_5_, float p_217162_6_, float p_217162_7_)
private void setLivingAnimations(ParrotModel.State p_217160_1_)
private static ParrotModel.State getParrotState(ParrotEntity p_217158_0_)