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 named net/minecraft/client/render/entity/model/TintableAnimalModel
intermediary net/minecraft/class_4593
official fvb
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color) Renders the model.void
setColorMultiplier
(int tint) Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
getBodyParts, getHeadParts
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo, setAngles
-
Field Details
-
tint
private int tint- Mappings:
Namespace Name Mixin selector named tint
Lnet/minecraft/client/render/entity/model/TintableAnimalModel;tint:I
intermediary field_52151
Lnet/minecraft/class_4593;field_52151:I
official a
Lfvb;a:I
-
-
Constructor Details
-
TintableAnimalModel
public TintableAnimalModel()
-
-
Method Details
-
setColorMultiplier
public void setColorMultiplier(int tint) - Mappings:
Namespace Name Mixin selector named setColorMultiplier
Lnet/minecraft/client/render/entity/model/TintableAnimalModel;setColorMultiplier(I)V
intermediary method_22955
Lnet/minecraft/class_4593;method_22955(I)V
official a
Lfvb;a(I)V
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color) Renders the model.- Overrides:
render
in classAnimalModel<E extends Entity>
- Parameters:
light
- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;III)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)V
official a
Lfwg;a(Lfbi;Lfbm;III)V
-