Class TintableAnimalModel<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.AnimalModel<E>
net.minecraft.client.render.entity.model.TintableAnimalModel<E>
- Direct Known Subclasses:
WolfEntityModel
@Environment(CLIENT)
public abstract class TintableAnimalModel<E extends Entity>
extends AnimalModel<E>
- Mappings:
Namespace Name official falintermediary net/minecraft/class_4593named net/minecraft/client/render/entity/model/TintableAnimalModel
-
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.AnimalModel
getBodyParts, getHeadPartsMethods 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 aLfal;a:Fintermediary field_20923Lnet/minecraft/class_4593;field_20923:Fnamed redMultiplierLnet/minecraft/client/render/entity/model/TintableAnimalModel;redMultiplier:F
-
greenMultiplier
private float greenMultiplier- Mappings:
Namespace Name Mixin selector official bLfal;b:Fintermediary field_20924Lnet/minecraft/class_4593;field_20924:Fnamed greenMultiplierLnet/minecraft/client/render/entity/model/TintableAnimalModel;greenMultiplier:F
-
blueMultiplier
private float blueMultiplier- Mappings:
Namespace Name Mixin selector official fLfal;f:Fintermediary field_20925Lnet/minecraft/class_4593;field_20925:Fnamed blueMultiplierLnet/minecraft/client/render/entity/model/TintableAnimalModel;blueMultiplier:F
-
-
Constructor Details
-
TintableAnimalModel
public TintableAnimalModel()
-
-
Method Details
-
setColorMultiplier
public void setColorMultiplier(float red, float green, float blue) - Mappings:
Namespace Name Mixin selector official aLfal;a(FFF)Vintermediary method_22955Lnet/minecraft/class_4593;method_22955(FFF)Vnamed setColorMultiplierLnet/minecraft/client/render/entity/model/TintableAnimalModel;setColorMultiplier(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 classAnimalModel<E extends Entity>- Parameters:
light- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector official aLfbq;a(Leib;Leif;IIFFFF)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)Vnamed renderLnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-