Class QuadrupedModel<T extends Entity>
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<E>
-
- net.minecraft.client.renderer.entity.model.AgeableModel<T>
-
- net.minecraft.client.renderer.entity.model.QuadrupedModel<T>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
- Direct Known Subclasses:
CowModel
,PandaModel
,PigModel
,PolarBearModel
,SheepModel
,SheepWoolModel
,TurtleModel
public class QuadrupedModel<T extends Entity> extends AgeableModel<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelRenderer
body
protected ModelRenderer
head
protected ModelRenderer
leg0
protected ModelRenderer
leg1
protected ModelRenderer
leg2
protected ModelRenderer
leg3
-
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 QuadrupedModel(int p_i225948_1_, float p_i225948_2_, boolean p_i225948_3_, float p_i225948_4_, float p_i225948_5_, float p_i225948_6_, float p_i225948_7_, int p_i225948_8_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Iterable<ModelRenderer>
bodyParts()
protected java.lang.Iterable<ModelRenderer>
headParts()
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.AgeableModel
renderToBuffer
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo, prepareMobModel
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Field Detail
-
head
protected ModelRenderer head
-
body
protected ModelRenderer body
-
leg0
protected ModelRenderer leg0
-
leg1
protected ModelRenderer leg1
-
leg2
protected ModelRenderer leg2
-
leg3
protected ModelRenderer leg3
-
-
Method Detail
-
headParts
protected java.lang.Iterable<ModelRenderer> headParts()
- Specified by:
headParts
in classAgeableModel<T extends Entity>
-
bodyParts
protected java.lang.Iterable<ModelRenderer> bodyParts()
- Specified by:
bodyParts
in classAgeableModel<T extends Entity>
-
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 Entity>
-
-