Class ParrotModel
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<E>
-
- net.minecraft.client.renderer.entity.model.SegmentedModel<ParrotEntity>
-
- net.minecraft.client.renderer.entity.model.ParrotModel
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
public class ParrotModel extends SegmentedModel<ParrotEntity>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ParrotModel.State
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class net.minecraft.client.renderer.entity.model.EntityModel
attackTime, riding, young
-
Fields inherited from class net.minecraft.client.renderer.model.Model
renderType, texHeight, texWidth
-
-
Constructor Summary
Constructors Constructor Description ParrotModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static ParrotModel.State
getState(ParrotEntity p_217158_0_)
java.lang.Iterable<ModelRenderer>
parts()
private void
prepare(ParrotModel.State p_217160_1_)
void
prepareMobModel(ParrotEntity p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
void
renderOnShoulder(MatrixStack p_228284_1_, IVertexBuilder p_228284_2_, int p_228284_3_, int p_228284_4_, float p_228284_5_, float p_228284_6_, float p_228284_7_, float p_228284_8_, int p_228284_9_)
private void
setupAnim(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_)
void
setupAnim(ParrotEntity p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
-
Methods inherited from class net.minecraft.client.renderer.entity.model.SegmentedModel
renderToBuffer
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Field Detail
-
body
private final ModelRenderer body
-
tail
private final ModelRenderer tail
-
wingLeft
private final ModelRenderer wingLeft
-
wingRight
private final ModelRenderer wingRight
-
head
private final ModelRenderer head
-
head2
private final ModelRenderer head2
-
beak1
private final ModelRenderer beak1
-
beak2
private final ModelRenderer beak2
-
feather
private final ModelRenderer feather
-
legLeft
private final ModelRenderer legLeft
-
legRight
private final ModelRenderer legRight
-
-
Method Detail
-
parts
public java.lang.Iterable<ModelRenderer> parts()
- Specified by:
parts
in classSegmentedModel<ParrotEntity>
-
setupAnim
public void setupAnim(ParrotEntity p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
- Specified by:
setupAnim
in classEntityModel<ParrotEntity>
-
prepareMobModel
public void prepareMobModel(ParrotEntity p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
- Overrides:
prepareMobModel
in classEntityModel<ParrotEntity>
-
renderOnShoulder
public void renderOnShoulder(MatrixStack p_228284_1_, IVertexBuilder p_228284_2_, int p_228284_3_, int p_228284_4_, float p_228284_5_, float p_228284_6_, float p_228284_7_, float p_228284_8_, int p_228284_9_)
-
setupAnim
private void setupAnim(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_)
-
prepare
private void prepare(ParrotModel.State p_217160_1_)
-
getState
private static ParrotModel.State getState(ParrotEntity p_217158_0_)
-
-