Class StuckInBodyLayer<T extends LivingEntity,M extends PlayerModel<T>>
- java.lang.Object
-
- net.minecraft.client.renderer.entity.layers.LayerRenderer<T,M>
-
- net.minecraft.client.renderer.entity.layers.StuckInBodyLayer<T,M>
-
- Direct Known Subclasses:
ArrowLayer
,BeeStingerLayer
public abstract class StuckInBodyLayer<T extends LivingEntity,M extends PlayerModel<T>> extends LayerRenderer<T,M>
-
-
Constructor Summary
Constructors Constructor Description StuckInBodyLayer(LivingRenderer<T,M> p_i226041_1_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract int
numStuck(T p_225631_1_)
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_)
protected abstract void
renderStuckItem(MatrixStack p_225632_1_, IRenderTypeBuffer p_225632_2_, int p_225632_3_, Entity p_225632_4_, float p_225632_5_, float p_225632_6_, float p_225632_7_, float p_225632_8_)
-
Methods inherited from class net.minecraft.client.renderer.entity.layers.LayerRenderer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
-
-
-
Constructor Detail
-
StuckInBodyLayer
public StuckInBodyLayer(LivingRenderer<T,M> p_i226041_1_)
-
-
Method Detail
-
numStuck
protected abstract int numStuck(T p_225631_1_)
-
renderStuckItem
protected abstract void renderStuckItem(MatrixStack p_225632_1_, IRenderTypeBuffer p_225632_2_, int p_225632_3_, Entity p_225632_4_, float p_225632_5_, float p_225632_6_, float p_225632_7_, float p_225632_8_)
-
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 PlayerModel<T>>
-
-