Class TintableCompositeModel<E extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.SinglePartEntityModel<E>
net.minecraft.client.render.entity.model.TintableCompositeModel<E>
- Direct Known Subclasses:
LargeTropicalFishEntityModel
,SmallTropicalFishEntityModel
@Environment(CLIENT) public abstract class TintableCompositeModel<E extends Entity> extends SinglePartEntityModel<E>
- Mappings:
Namespace Name official eaj
intermediary net/minecraft/class_4594
named net/minecraft/client/render/entity/model/TintableCompositeModel
-
Field Summary
Fields Modifier and Type Field Description private float
blueMultiplier
private float
greenMultiplier
private float
redMultiplier
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
Constructors Constructor Description TintableCompositeModel()
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
getPart
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo, setAngles
-
Field Details
-
redMultiplier
private float redMultiplier- Mappings:
Namespace Name Mixin selector official a
Leaj;a:F
intermediary field_20926
Lnet/minecraft/class_4594;field_20926:F
named redMultiplier
Lnet/minecraft/client/render/entity/model/TintableCompositeModel;redMultiplier:F
-
greenMultiplier
private float greenMultiplier- Mappings:
Namespace Name Mixin selector official b
Leaj;b:F
intermediary field_20927
Lnet/minecraft/class_4594;field_20927:F
named greenMultiplier
Lnet/minecraft/client/render/entity/model/TintableCompositeModel;greenMultiplier:F
-
blueMultiplier
private float blueMultiplier- Mappings:
Namespace Name Mixin selector official f
Leaj;f:F
intermediary field_20928
Lnet/minecraft/class_4594;field_20928:F
named blueMultiplier
Lnet/minecraft/client/render/entity/model/TintableCompositeModel;blueMultiplier:F
-
-
Constructor Details
-
TintableCompositeModel
public TintableCompositeModel()
-
-
Method Details
-
setColorMultiplier
public void setColorMultiplier(float red, float green, float blue)- Mappings:
Namespace Name Mixin selector official a
Leaj;a(FFF)V
intermediary method_22956
Lnet/minecraft/class_4594;method_22956(FFF)V
named setColorMultiplier
Lnet/minecraft/client/render/entity/model/TintableCompositeModel;setColorMultiplier(FFF)V
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)- Overrides:
render
in classSinglePartEntityModel<E extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Lebk;a(Ldlr;Ldlv;IIFFFF)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
named render
Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-