Class HeadLayer<T extends LivingEntity,M extends EntityModel<T> & IHasHead>
java.lang.Object
net.minecraft.client.renderer.entity.layers.LayerRenderer<T,M>
net.minecraft.client.renderer.entity.layers.HeadLayer<T,M>
public class HeadLayer<T extends LivingEntity,M extends EntityModel<T> & IHasHead>
extends LayerRenderer<T,M>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHeadLayer
(IEntityRenderer<T, M> p_i50946_1_) HeadLayer
(IEntityRenderer<T, M> p_i232475_1_, float p_i232475_2_, float p_i232475_3_, float p_i232475_4_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(MatrixStack p_225628_1_, IRenderTypeBuffer p_225628_2_, int p_225628_3_, T p_225628_4_, float p_225628_5_, float p_225628_6_, float p_225628_7_, float p_225628_8_, float p_225628_9_, float p_225628_10_) Methods inherited from class net.minecraft.client.renderer.entity.layers.LayerRenderer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
Field Details
-
scaleX
private final float scaleX -
scaleY
private final float scaleY -
scaleZ
private final float scaleZ
-
-
Constructor Details
-
HeadLayer
-
HeadLayer
public HeadLayer(IEntityRenderer<T, M> p_i232475_1_, float p_i232475_2_, float p_i232475_3_, float p_i232475_4_)
-
-
Method Details
-
render
public void render(MatrixStack p_225628_1_, IRenderTypeBuffer p_225628_2_, int p_225628_3_, T p_225628_4_, float p_225628_5_, float p_225628_6_, float p_225628_7_, float p_225628_8_, float p_225628_9_, float p_225628_10_) - Specified by:
render
in classLayerRenderer<T extends LivingEntity,
M extends EntityModel<T> & IHasHead>
-