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
official esw
intermediary net/minecraft/class_919
named net/minecraft/client/render/entity/LightningEntityRenderer
  • Constructor Details

    • LightningEntityRenderer

      public LightningEntityRenderer(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerw;<init>(Lerx$a;)V
      intermediary <init> Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
      named <init> Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)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
      official a Lesw;a(Lats;FFLdqk;Lenh;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
      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
    • drawBranch

      private static void drawBranch(Matrix4f matrix, VertexConsumer buffer, float float2, float float3, int int2, float float4, float float5, float red, float green, float blue, float float6, float float7, boolean bool, boolean bool2, boolean bool3, boolean bool4)
      Mappings:
      Namespace Name Mixin selector
      official a Lesw;a(Ld;Ldqo;FFIFFFFFFFZZZZ)V
      intermediary method_23183 Lnet/minecraft/class_919;method_23183(Lnet/minecraft/class_1159;Lnet/minecraft/class_4588;FFIFFFFFFFZZZZ)V
      named drawBranch Lnet/minecraft/client/render/entity/LightningEntityRenderer;drawBranch(Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;FFIFFFFFFFZZZZ)V
    • getTexture

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