Class RabbitModel<T extends RabbitEntity>
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<T>
-
- net.minecraft.client.renderer.entity.model.RabbitModel<T>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
public class RabbitModel<T extends RabbitEntity> extends EntityModel<T>
-
-
Field Summary
Fields Modifier and Type Field Description private ModelRenderer
body
private ModelRenderer
earLeft
private ModelRenderer
earRight
private ModelRenderer
frontLegLeft
private ModelRenderer
frontLegRight
private ModelRenderer
haunchLeft
private ModelRenderer
haunchRight
private ModelRenderer
head
private float
jumpRotation
private ModelRenderer
nose
private ModelRenderer
rearFootLeft
private ModelRenderer
rearFootRight
private ModelRenderer
tail
-
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 RabbitModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
void
renderToBuffer(MatrixStack p_225598_1_, IVertexBuilder p_225598_2_, int p_225598_3_, int p_225598_4_, float p_225598_5_, float p_225598_6_, float p_225598_7_, float p_225598_8_)
private void
setRotation(ModelRenderer p_178691_1_, float p_178691_2_, float p_178691_3_, float p_178691_4_)
void
setupAnim(T 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.EntityModel
copyPropertiesTo
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Field Detail
-
rearFootLeft
private final ModelRenderer rearFootLeft
-
rearFootRight
private final ModelRenderer rearFootRight
-
haunchLeft
private final ModelRenderer haunchLeft
-
haunchRight
private final ModelRenderer haunchRight
-
body
private final ModelRenderer body
-
frontLegLeft
private final ModelRenderer frontLegLeft
-
frontLegRight
private final ModelRenderer frontLegRight
-
head
private final ModelRenderer head
-
earRight
private final ModelRenderer earRight
-
earLeft
private final ModelRenderer earLeft
-
tail
private final ModelRenderer tail
-
nose
private final ModelRenderer nose
-
jumpRotation
private float jumpRotation
-
-
Method Detail
-
setRotation
private void setRotation(ModelRenderer p_178691_1_, float p_178691_2_, float p_178691_3_, float p_178691_4_)
-
renderToBuffer
public void renderToBuffer(MatrixStack p_225598_1_, IVertexBuilder p_225598_2_, int p_225598_3_, int p_225598_4_, float p_225598_5_, float p_225598_6_, float p_225598_7_, float p_225598_8_)
- Specified by:
renderToBuffer
in classModel
-
setupAnim
public void setupAnim(T 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<T extends RabbitEntity>
-
prepareMobModel
public void prepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
- Overrides:
prepareMobModel
in classEntityModel<T extends RabbitEntity>
-
-