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:
Consumer<ModelRenderer>
- Direct Known Subclasses:
BeeModel
,BipedModel
,BoarModel
,ChickenModel
,ElytraModel
,FoxModel
,HorseModel
,OcelotModel
,QuadrupedModel
,TintedAgeableModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final float
private final float
private final boolean
private final float
private final float
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
ModifierConstructorDescriptionprotected
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
(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
Modifier and TypeMethodDescriptionprotected abstract Iterable<ModelRenderer>
protected abstract Iterable<ModelRenderer>
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
-
Field Details
-
scaleHead
private final boolean scaleHead -
yHeadOffset
private final float yHeadOffset -
zHeadOffset
private final float zHeadOffset -
babyHeadScale
private final float babyHeadScale -
babyBodyScale
private final float babyBodyScale -
bodyYOffset
private final float bodyYOffset
-
-
Constructor Details
-
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(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 Details
-
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
-
bodyParts
-