Class TintableCompositeModel<E extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.class_5597<E>
net.minecraft.client.render.entity.model.TintableCompositeModel<E>
- Direct Known Subclasses:
LargeTropicalFishEntityModel,SmallTropicalFishEntityModel
@Environment(CLIENT) public abstract class TintableCompositeModel<E extends Entity> extends class_5597<E>
-
Field Summary
Fields Modifier and Type Field Description private floatblueMultiplierprivate floatgreenMultiplierprivate floatredMultiplierFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Constructor Description TintableCompositeModel() -
Method Summary
Modifier and Type Method Description voidrender(MatrixStack matrixStack, VertexConsumer vertexConsumer, int int2, int int3, float float2, float float3, float float4, float float5)voidsetColorMultiplier(float red, float green, float blue)Methods inherited from class net.minecraft.class_5597
method_32008Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo, setAngles
-
Field Details
-
redMultiplier
private float redMultiplier -
greenMultiplier
private float greenMultiplier -
blueMultiplier
private float blueMultiplier
-
-
Constructor Details
-
TintableCompositeModel
public TintableCompositeModel()
-
-
Method Details
-
setColorMultiplier
public void setColorMultiplier(float red, float green, float blue) -
render
public void render(MatrixStack matrixStack, VertexConsumer vertexConsumer, int int2, int int3, float float2, float float3, float float4, float float5)- Overrides:
renderin classclass_5597<E extends Entity>
-