public abstract class AgeableModel<E extends Entity> extends EntityModel<E>
Modifier and Type | Field and Description |
---|---|
private float |
childBodyOffsetY |
private float |
childBodyScale |
private float |
childHeadOffsetY |
private float |
childHeadOffsetZ |
private float |
childHeadScale |
private boolean |
isChildHeadScaled |
isChild, isSitting, swingProgress
renderType, textureHeight, textureWidth
Modifier | Constructor and 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_) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.Iterable<ModelRenderer> |
getBodyParts() |
protected abstract java.lang.Iterable<ModelRenderer> |
getHeadParts() |
void |
render(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
int packedLightIn,
int packedOverlayIn,
float red,
float green,
float blue,
float alpha) |
copyModelAttributesTo, setLivingAnimations, setRotationAngles
accept, getRenderType
private final boolean isChildHeadScaled
private final float childHeadOffsetY
private final float childHeadOffsetZ
private final float childHeadScale
private final float childBodyScale
private final float childBodyOffsetY
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_)
protected AgeableModel()
public void render(MatrixStack matrixStackIn, IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn, float red, float green, float blue, float alpha)
protected abstract java.lang.Iterable<ModelRenderer> getHeadParts()
protected abstract java.lang.Iterable<ModelRenderer> getBodyParts()