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 Details

  • Method Details

    • numStuck

      protected abstract int numStuck(T p_117565_)
    • 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 class RenderLayer<T extends LivingEntity,M extends PlayerModel<T>>