Class BeeStingerLayer<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.BeeStingerLayer<T,M>
-
public class BeeStingerLayer<T extends LivingEntity,M extends PlayerModel<T>> extends StuckInBodyLayer<T,M>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
BEE_STINGER_LOCATION
-
Constructor Summary
Constructors Constructor Description BeeStingerLayer(LivingRenderer<T,M> p_i226036_1_)
-
Method Summary
All Methods Static 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_)
private static void
vertex(IVertexBuilder p_229132_0_, Matrix4f p_229132_1_, Matrix3f p_229132_2_, float p_229132_3_, int p_229132_4_, float p_229132_5_, float p_229132_6_, int p_229132_7_)
-
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
-
BEE_STINGER_LOCATION
private static final ResourceLocation BEE_STINGER_LOCATION
-
-
Constructor Detail
-
BeeStingerLayer
public BeeStingerLayer(LivingRenderer<T,M> p_i226036_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>>
-
vertex
private static void vertex(IVertexBuilder p_229132_0_, Matrix4f p_229132_1_, Matrix3f p_229132_2_, float p_229132_3_, int p_229132_4_, float p_229132_5_, float p_229132_6_, int p_229132_7_)
-
-