Package net.minecraft.client.model
Class ColorableHierarchicalModel<E extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.HierarchicalModel<E>
net.minecraft.client.model.ColorableHierarchicalModel<E>
- Direct Known Subclasses:
TropicalFishModelA,TropicalFishModelB
-
Field Summary
FieldsFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderToBuffer(PoseStack p_170506_, VertexConsumer p_170507_, int p_170508_, int p_170509_, float p_170510_, float p_170511_, float p_170512_, float p_170513_) voidsetColor(float p_170502_, float p_170503_, float p_170504_) Methods inherited from class net.minecraft.client.model.HierarchicalModel
rootMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel, setupAnimMethods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
r
private float r -
g
private float g -
b
private float b
-
-
Constructor Details
-
ColorableHierarchicalModel
public ColorableHierarchicalModel()
-
-
Method Details
-
setColor
public void setColor(float p_170502_, float p_170503_, float p_170504_) -
renderToBuffer
public void renderToBuffer(PoseStack p_170506_, VertexConsumer p_170507_, int p_170508_, int p_170509_, float p_170510_, float p_170511_, float p_170512_, float p_170513_) - Overrides:
renderToBufferin classHierarchicalModel<E extends Entity>
-