@Environment(value=CLIENT) public abstract class TintableAnimalModel<E extends Entity> extends AnimalModel<E>
| Modifier and Type | Field and Description |
|---|---|
private float |
blueMultiplier |
private float |
greenMultiplier |
private float |
redMultiplier |
child, handSwingProgress, ridinglayerFactory, textureHeight, textureWidth| Constructor and Description |
|---|
TintableAnimalModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
render(MatrixStack matrices,
VertexConsumer vertices,
int light,
int overlay,
float red,
float green,
float blue,
float alpha) |
void |
setColorMultiplier(float red,
float green,
float blue) |
getBodyParts, getHeadPartsanimateModel, copyStateTo, setAnglesprivate float redMultiplier
private float greenMultiplier
private float blueMultiplier
public void setColorMultiplier(float red,
float green,
float blue)
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
render in class AnimalModel<E extends Entity>