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 named net/minecraft/client/render/entity/model/TintableCompositeModelintermediary net/minecraft/class_4594official ftu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate floatprivate floatFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.voidsetColorMultiplier(float red, float green, float blue) Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
animate, animateMovement, getChild, getPart, updateAnimation, updateAnimationMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo, setAngles
-
Field Details
-
redMultiplier
private float redMultiplier- Mappings:
Namespace Name Mixin selector named redMultiplierLnet/minecraft/client/render/entity/model/TintableCompositeModel;redMultiplier:Fintermediary field_20926Lnet/minecraft/class_4594;field_20926:Fofficial aLftu;a:F
-
greenMultiplier
private float greenMultiplier- Mappings:
Namespace Name Mixin selector named greenMultiplierLnet/minecraft/client/render/entity/model/TintableCompositeModel;greenMultiplier:Fintermediary field_20927Lnet/minecraft/class_4594;field_20927:Fofficial bLftu;b:F
-
blueMultiplier
private float blueMultiplier- Mappings:
Namespace Name Mixin selector named blueMultiplierLnet/minecraft/client/render/entity/model/TintableCompositeModel;blueMultiplier:Fintermediary field_20928Lnet/minecraft/class_4594;field_20928:Fofficial fLftu;f:F
-
-
Constructor Details
-
TintableCompositeModel
public TintableCompositeModel()
-
-
Method Details
-
setColorMultiplier
public void setColorMultiplier(float red, float green, float blue) - Mappings:
Namespace Name Mixin selector named setColorMultiplierLnet/minecraft/client/render/entity/model/TintableCompositeModel;setColorMultiplier(FFF)Vintermediary method_22956Lnet/minecraft/class_4594;method_22956(FFF)Vofficial aLftu;a(FFF)V
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.- Overrides:
renderin classSinglePartEntityModel<E extends Entity>- Parameters:
light- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)Vofficial aLfuy;a(Lfaa;Lfae;IIFFFF)V
-