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/TintableAnimalModelintermediary net/minecraft/class_4593official fvb
-
Field Summary
FieldsFields 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, int color) Renders the model.voidsetColorMultiplier(int tint) 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
-
tint
private int tint- Mappings:
Namespace Name Mixin selector named tintLnet/minecraft/client/render/entity/model/TintableAnimalModel;tint:Iintermediary field_52151Lnet/minecraft/class_4593;field_52151:Iofficial aLfvb;a:I
-
-
Constructor Details
-
TintableAnimalModel
public TintableAnimalModel()
-
-
Method Details
-
setColorMultiplier
public void setColorMultiplier(int tint) - Mappings:
Namespace Name Mixin selector named setColorMultiplierLnet/minecraft/client/render/entity/model/TintableAnimalModel;setColorMultiplier(I)Vintermediary method_22955Lnet/minecraft/class_4593;method_22955(I)Vofficial aLfvb;a(I)V
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color) Renders the model.- Overrides:
renderin classAnimalModel<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;III)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)Vofficial aLfwg;a(Lfbi;Lfbm;III)V
-