Class LightningBoltRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<LightningBoltEntity>
-
- net.minecraft.client.renderer.entity.LightningBoltRenderer
-
public class LightningBoltRenderer extends EntityRenderer<LightningBoltEntity>
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description LightningBoltRenderer(EntityRendererManager p_i46157_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(LightningBoltEntity p_110775_1_)
private static void
quad(Matrix4f p_229116_0_, IVertexBuilder p_229116_1_, float p_229116_2_, float p_229116_3_, int p_229116_4_, float p_229116_5_, float p_229116_6_, float p_229116_7_, float p_229116_8_, float p_229116_9_, float p_229116_10_, float p_229116_11_, boolean p_229116_12_, boolean p_229116_13_, boolean p_229116_14_, boolean p_229116_15_)
void
render(LightningBoltEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
-
-
-
Constructor Detail
-
LightningBoltRenderer
public LightningBoltRenderer(EntityRendererManager p_i46157_1_)
-
-
Method Detail
-
render
public void render(LightningBoltEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classEntityRenderer<LightningBoltEntity>
-
quad
private static void quad(Matrix4f p_229116_0_, IVertexBuilder p_229116_1_, float p_229116_2_, float p_229116_3_, int p_229116_4_, float p_229116_5_, float p_229116_6_, float p_229116_7_, float p_229116_8_, float p_229116_9_, float p_229116_10_, float p_229116_11_, boolean p_229116_12_, boolean p_229116_13_, boolean p_229116_14_, boolean p_229116_15_)
-
getTextureLocation
public ResourceLocation getTextureLocation(LightningBoltEntity p_110775_1_)
- Specified by:
getTextureLocation
in classEntityRenderer<LightningBoltEntity>
-
-