Class LightningEntityRenderer


@Environment(CLIENT) public class LightningEntityRenderer extends EntityRenderer<LightningEntity,LightningEntityRenderState>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/LightningEntityRenderer
intermediary net/minecraft/class_919
official gsp
  • Constructor Details

    • LightningEntityRenderer

      public LightningEntityRenderer(EntityRendererFactory.Context context)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
      intermediary <init> Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
      official <init> Lgro;<init>(Lgrp$a;)V
  • Method Details

    • render

      public void render(LightningEntityRenderState lightningEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<LightningEntity,LightningEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/LightningEntityRenderer;render(Lnet/minecraft/client/render/entity/state/LightningEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      intermediary method_4034 Lnet/minecraft/class_919;method_4034(Lnet/minecraft/class_10041;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgsp;a(Lgyr;Lfgr;Lglk;I)V
    • drawBranch

      private static void drawBranch(Matrix4f matrix, VertexConsumer buffer, float x1, float z1, int y, float x2, float z2, float red, float green, float blue, float offset2, float offset1, boolean shiftEast1, boolean shiftSouth1, boolean shiftEast2, boolean shiftSouth2)
      Mappings:
      Namespace Name Mixin selector
      named drawBranch Lnet/minecraft/client/render/entity/LightningEntityRenderer;drawBranch(Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;FFIFFFFFFFZZZZ)V
      intermediary method_23183 Lnet/minecraft/class_919;method_23183(Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;FFIFFFFFFFZZZZ)V
      official a Lgsp;a(Lorg/joml/Matrix4f;Lfgv;FFIFFFFFFFZZZZ)V
    • createRenderState

      public LightningEntityRenderState createRenderState()
      Specified by:
      createRenderState in class EntityRenderer<LightningEntity,LightningEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named createRenderState Lnet/minecraft/client/render/entity/LightningEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/LightningEntityRenderState;
      intermediary method_62479 Lnet/minecraft/class_919;method_62479()Lnet/minecraft/class_10041;
      official a Lgsp;a()Lgyr;
    • updateRenderState

      public void updateRenderState(LightningEntity lightningEntity, LightningEntityRenderState lightningEntityRenderState, float float2)
      Overrides:
      updateRenderState in class EntityRenderer<LightningEntity,LightningEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named updateRenderState Lnet/minecraft/client/render/entity/LightningEntityRenderer;updateRenderState(Lnet/minecraft/entity/LightningEntity;Lnet/minecraft/client/render/entity/state/LightningEntityRenderState;F)V
      intermediary method_62481 Lnet/minecraft/class_919;method_62481(Lnet/minecraft/class_1538;Lnet/minecraft/class_10041;F)V
      official a Lgsp;a(Lbwe;Lgyr;F)V
    • canBeCulled

      protected boolean canBeCulled(LightningEntity lightningEntity)
      Overrides:
      canBeCulled in class EntityRenderer<LightningEntity,LightningEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named canBeCulled Lnet/minecraft/client/render/entity/LightningEntityRenderer;canBeCulled(Lnet/minecraft/entity/LightningEntity;)Z
      intermediary method_62480 Lnet/minecraft/class_919;method_62480(Lnet/minecraft/class_1538;)Z
      official a Lgsp;a(Lbwe;)Z