@Environment(value=CLIENT) public abstract class TintableCompositeModel<E extends Entity> extends CompositeEntityModel<E>
Modifier and Type | Field and Description |
---|---|
private float |
blueMultiplier |
private float |
greenMultiplier |
private float |
redMultiplier |
child, handSwingProgress, riding
layerFactory, textureHeight, textureWidth
Constructor and Description |
---|
TintableCompositeModel() |
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) |
getParts
animateModel, copyStateTo, setAngles
private 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 CompositeEntityModel<E extends Entity>