Class LightningEntityRenderer

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<LightningEntity>
net.minecraft.client.render.entity.LightningEntityRenderer

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

    • LightningEntityRenderer

      public LightningEntityRenderer(EntityRendererFactory.Context ctx)
      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> Lgiy;<init>(Lgiz$a;)V
  • Method Details

    • render

      public void render(LightningEntity lightningEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<LightningEntity>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/LightningEntityRenderer;render(Lnet/minecraft/entity/LightningEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      intermediary method_4034 Lnet/minecraft/class_919;method_4034(Lnet/minecraft/class_1538;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgjz;a(Lbtq;FFLfaa;Lgdq;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 Lgjz;a(Lorg/joml/Matrix4f;Lfae;FFIFFFFFFFZZZZ)V
    • getTexture

      public Identifier getTexture(LightningEntity lightningEntity)
      Specified by:
      getTexture in class EntityRenderer<LightningEntity>
      Mappings:
      Namespace Name Mixin selector
      named getTexture Lnet/minecraft/client/render/entity/LightningEntityRenderer;getTexture(Lnet/minecraft/entity/LightningEntity;)Lnet/minecraft/util/Identifier;
      intermediary method_4033 Lnet/minecraft/class_919;method_4033(Lnet/minecraft/class_1538;)Lnet/minecraft/class_2960;
      official a Lgjz;a(Lbtq;)Lalf;