Class AgeableModel<E 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<E>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
- Direct Known Subclasses:
BeeModel
,BipedModel
,BoarModel
,ChickenModel
,ElytraModel
,FoxModel
,HorseModel
,OcelotModel
,QuadrupedModel
,TintedAgeableModel
public abstract class AgeableModel<E extends Entity> extends EntityModel<E>
-
-
Field Summary
Fields Modifier and Type Field Description private float
babyBodyScale
private float
babyHeadScale
private float
bodyYOffset
private boolean
scaleHead
private float
yHeadOffset
private float
zHeadOffset
-
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 Modifier Constructor Description protected
AgeableModel()
protected
AgeableModel(boolean p_i225943_1_, float p_i225943_2_, float p_i225943_3_)
protected
AgeableModel(boolean p_i225944_1_, float p_i225944_2_, float p_i225944_3_, float p_i225944_4_, float p_i225944_5_, float p_i225944_6_)
protected
AgeableModel(java.util.function.Function<ResourceLocation,RenderType> p_i225942_1_, boolean p_i225942_2_, float p_i225942_3_, float p_i225942_4_, float p_i225942_5_, float p_i225942_6_, float p_i225942_7_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.Iterable<ModelRenderer>
bodyParts()
protected abstract java.lang.Iterable<ModelRenderer>
headParts()
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_)
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo, prepareMobModel, setupAnim
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Constructor Detail
-
AgeableModel
protected AgeableModel(boolean p_i225943_1_, float p_i225943_2_, float p_i225943_3_)
-
AgeableModel
protected AgeableModel(boolean p_i225944_1_, float p_i225944_2_, float p_i225944_3_, float p_i225944_4_, float p_i225944_5_, float p_i225944_6_)
-
AgeableModel
protected AgeableModel(java.util.function.Function<ResourceLocation,RenderType> p_i225942_1_, boolean p_i225942_2_, float p_i225942_3_, float p_i225942_4_, float p_i225942_5_, float p_i225942_6_, float p_i225942_7_)
-
AgeableModel
protected AgeableModel()
-
-
Method Detail
-
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
-
headParts
protected abstract java.lang.Iterable<ModelRenderer> headParts()
-
bodyParts
protected abstract java.lang.Iterable<ModelRenderer> bodyParts()
-
-