Class ArrowLayer<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>
-
- net.minecraft.client.renderer.entity.layers.ArrowLayer<T,M>
-
public class ArrowLayer<T extends LivingEntity,M extends PlayerModel<T>> extends StuckInBodyLayer<T,M>
-
-
Field Summary
Fields Modifier and Type Field Description private ArrowEntity
arrow
private EntityRendererManager
dispatcher
-
Constructor Summary
Constructors Constructor Description ArrowLayer(LivingRenderer<T,M> p_i46124_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
numStuck(T p_225631_1_)
protected 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.StuckInBodyLayer
render
-
Methods inherited from class net.minecraft.client.renderer.entity.layers.LayerRenderer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
-
-
-
Field Detail
-
dispatcher
private final EntityRendererManager dispatcher
-
arrow
private ArrowEntity arrow
-
-
Constructor Detail
-
ArrowLayer
public ArrowLayer(LivingRenderer<T,M> p_i46124_1_)
-
-
Method Detail
-
numStuck
protected int numStuck(T p_225631_1_)
- Specified by:
numStuck
in classStuckInBodyLayer<T extends LivingEntity,M extends PlayerModel<T>>
-
renderStuckItem
protected 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_)
- Specified by:
renderStuckItem
in classStuckInBodyLayer<T extends LivingEntity,M extends PlayerModel<T>>
-
-