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
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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_)
void
setColor(float p_170502_, float p_170503_, float p_170504_)
Methods inherited from class net.minecraft.client.model.HierarchicalModel
root
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel, setupAnim
Methods 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:
renderToBuffer
in classHierarchicalModel<E extends Entity>
-