Class LightningBoltRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<LightningBolt>
net.minecraft.client.renderer.entity.LightningBoltRenderer
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation
(LightningBolt p_115264_) private static void
quad
(org.joml.Matrix4f p_253966_, VertexConsumer p_115274_, float p_115275_, float p_115276_, int p_115277_, float p_115278_, float p_115279_, float p_115280_, float p_115281_, float p_115282_, float p_115283_, float p_115284_, boolean p_115285_, boolean p_115286_, boolean p_115287_, boolean p_115288_) void
render
(LightningBolt p_115266_, float p_115267_, float p_115268_, PoseStack p_115269_, MultiBufferSource p_115270_, int p_115271_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Constructor Details
-
LightningBoltRenderer
-
-
Method Details
-
render
public void render(LightningBolt p_115266_, float p_115267_, float p_115268_, PoseStack p_115269_, MultiBufferSource p_115270_, int p_115271_) - Overrides:
render
in classEntityRenderer<LightningBolt>
-
quad
private static void quad(org.joml.Matrix4f p_253966_, VertexConsumer p_115274_, float p_115275_, float p_115276_, int p_115277_, float p_115278_, float p_115279_, float p_115280_, float p_115281_, float p_115282_, float p_115283_, float p_115284_, boolean p_115285_, boolean p_115286_, boolean p_115287_, boolean p_115288_) -
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<LightningBolt>
-