Class StuckInBodyLayer<T extends LivingEntity,M extends PlayerModel<T>>
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<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 RenderLayer<T,M>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
void
render(PoseStack p_117586_, MultiBufferSource p_117587_, int p_117588_, T p_117589_, float p_117590_, float p_117591_, float p_117592_, float p_117593_, float p_117594_, float p_117595_)
protected abstract void
renderStuckItem(PoseStack p_117566_, MultiBufferSource p_117567_, int p_117568_, Entity p_117569_, float p_117570_, float p_117571_, float p_117572_, float p_117573_)
Methods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
Constructor Details
-
StuckInBodyLayer
-
-
Method Details
-
numStuck
-
renderStuckItem
protected abstract void renderStuckItem(PoseStack p_117566_, MultiBufferSource p_117567_, int p_117568_, Entity p_117569_, float p_117570_, float p_117571_, float p_117572_, float p_117573_) -
render
public void render(PoseStack p_117586_, MultiBufferSource p_117587_, int p_117588_, T p_117589_, float p_117590_, float p_117591_, float p_117592_, float p_117593_, float p_117594_, float p_117595_)- Specified by:
render
in classRenderLayer<T extends LivingEntity,M extends PlayerModel<T>>
-