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 fpy
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> Lfox;<init>(Lfoy$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 Lfpy;a(Lbfy;FFLeij;Lfjx;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 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
      official a Lfpy;a(Lorg/joml/Matrix4f;Lein;FFIFFFFFFFZZZZ)V
      intermediary method_23183 Lnet/minecraft/class_919;method_23183(Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;FFIFFFFFFFZZZZ)V
      named drawBranch Lnet/minecraft/client/render/entity/LightningEntityRenderer;drawBranch(Lorg/joml/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 Lfpy;a(Lbfy;)Lacq;
      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;