Class LightDebugRenderer

java.lang.Object
net.minecraft.client.render.debug.LightDebugRenderer
All Implemented Interfaces:
DebugRenderer.Renderer

@Environment(CLIENT) public class LightDebugRenderer extends Object implements DebugRenderer.Renderer
Mappings:
Namespace Name
official frt
intermediary net/minecraft/class_8520
named net/minecraft/client/render/debug/LightDebugRenderer
  • Field Details

    • UPDATE_INTERVAL

      private static final Duration UPDATE_INTERVAL
      Mappings:
      Namespace Name Mixin selector
      official a Lfrt;a:Ljava/time/Duration;
      intermediary field_44675 Lnet/minecraft/class_8520;field_44675:Ljava/time/Duration;
      named UPDATE_INTERVAL Lnet/minecraft/client/render/debug/LightDebugRenderer;UPDATE_INTERVAL:Ljava/time/Duration;
    • RADIUS

      private static final int RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lfrt;b:I
      intermediary field_44676 Lnet/minecraft/class_8520;field_44676:I
      named RADIUS Lnet/minecraft/client/render/debug/LightDebugRenderer;RADIUS:I
    • READY_SHAPE_COLOR

      private static final Vector4f READY_SHAPE_COLOR
      Mappings:
      Namespace Name Mixin selector
      official c Lfrt;c:Lorg/joml/Vector4f;
      intermediary field_44677 Lnet/minecraft/class_8520;field_44677:Lorg/joml/Vector4f;
      named READY_SHAPE_COLOR Lnet/minecraft/client/render/debug/LightDebugRenderer;READY_SHAPE_COLOR:Lorg/joml/Vector4f;
    • DEFAULT_SHAPE_COLOR

      private static final Vector4f DEFAULT_SHAPE_COLOR
      Mappings:
      Namespace Name Mixin selector
      official d Lfrt;d:Lorg/joml/Vector4f;
      intermediary field_44678 Lnet/minecraft/class_8520;field_44678:Lorg/joml/Vector4f;
      named DEFAULT_SHAPE_COLOR Lnet/minecraft/client/render/debug/LightDebugRenderer;DEFAULT_SHAPE_COLOR:Lorg/joml/Vector4f;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official e Lfrt;e:Leqv;
      intermediary field_44679 Lnet/minecraft/class_8520;field_44679:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/render/debug/LightDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
    • lightType

      private final LightType lightType
      Mappings:
      Namespace Name Mixin selector
      official f Lfrt;f:Lcqe;
      intermediary field_44680 Lnet/minecraft/class_8520;field_44680:Lnet/minecraft/class_1944;
      named lightType Lnet/minecraft/client/render/debug/LightDebugRenderer;lightType:Lnet/minecraft/world/LightType;
    • prevUpdateTime

      private Instant prevUpdateTime
      Mappings:
      Namespace Name Mixin selector
      official g Lfrt;g:Ljava/time/Instant;
      intermediary field_44681 Lnet/minecraft/class_8520;field_44681:Ljava/time/Instant;
      named prevUpdateTime Lnet/minecraft/client/render/debug/LightDebugRenderer;prevUpdateTime:Ljava/time/Instant;
    • data

      @Nullable private @Nullable LightDebugRenderer.Data data
      Mappings:
      Namespace Name Mixin selector
      official h Lfrt;h:Lfrt$a;
      intermediary field_44682 Lnet/minecraft/class_8520;field_44682:Lnet/minecraft/class_8520$class_8521;
      named data Lnet/minecraft/client/render/debug/LightDebugRenderer;data:Lnet/minecraft/client/render/debug/LightDebugRenderer$Data;
  • Constructor Details

    • LightDebugRenderer

      public LightDebugRenderer(MinecraftClient client, LightType lightType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfrt;<init>(Leqv;Lcqe;)V
      intermediary <init> Lnet/minecraft/class_8520;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_1944;)V
      named <init> Lnet/minecraft/client/render/debug/LightDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/world/LightType;)V
  • Method Details

    • render

      public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)
      Specified by:
      render in interface DebugRenderer.Renderer
      Mappings:
      Namespace Name Mixin selector
      official a Lfrn$a;a(Lelp;Lfoe;DDD)V
      intermediary method_23109 Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)V
      named render Lnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
    • drawFaces

      private static void drawFaces(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumer vertexConsumer, double cameraX, double cameraY, double cameraZ, Vector4f color)
      Mappings:
      Namespace Name Mixin selector
      official a Lfrt;a(Lelp;Lehw;Lhw;Lelt;DDDLorg/joml/Vector4f;)V
      intermediary method_51457 Lnet/minecraft/class_8520;method_51457(Lnet/minecraft/class_4587;Lnet/minecraft/class_251;Lnet/minecraft/class_4076;Lnet/minecraft/class_4588;DDDLorg/joml/Vector4f;)V
      named drawFaces Lnet/minecraft/client/render/debug/LightDebugRenderer;drawFaces(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/client/render/VertexConsumer;DDDLorg/joml/Vector4f;)V
    • drawEdges

      private static void drawEdges(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, Vector4f color)
      Mappings:
      Namespace Name Mixin selector
      official a Lfrt;a(Lelp;Lehw;Lhw;Lfoe;DDDLorg/joml/Vector4f;)V
      intermediary method_51458 Lnet/minecraft/class_8520;method_51458(Lnet/minecraft/class_4587;Lnet/minecraft/class_251;Lnet/minecraft/class_4076;Lnet/minecraft/class_4597;DDDLorg/joml/Vector4f;)V
      named drawEdges Lnet/minecraft/client/render/debug/LightDebugRenderer;drawEdges(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/client/render/VertexConsumerProvider;DDDLorg/joml/Vector4f;)V
    • drawFace

      private static void drawFace(MatrixStack matrices, VertexConsumer vertexConsumer, Direction direction, double cameraX, double cameraY, double cameraZ, int x, int y, int z, Vector4f color)
      Mappings:
      Namespace Name Mixin selector
      official a Lfrt;a(Lelp;Lelt;Lha;DDDIIILorg/joml/Vector4f;)V
      intermediary method_51460 Lnet/minecraft/class_8520;method_51460(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_2350;DDDIIILorg/joml/Vector4f;)V
      named drawFace Lnet/minecraft/client/render/debug/LightDebugRenderer;drawFace(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/util/math/Direction;DDDIIILorg/joml/Vector4f;)V
    • drawEdge

      private static void drawEdge(MatrixStack matrices, VertexConsumer vertexConsumer, double cameraX, double cameraY, double cameraZ, int x1, int y1, int z1, int x2, int y2, int z, Vector4f color)
      Mappings:
      Namespace Name Mixin selector
      official a Lfrt;a(Lelp;Lelt;DDDIIIIIILorg/joml/Vector4f;)V
      intermediary method_51459 Lnet/minecraft/class_8520;method_51459(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;DDDIIIIIILorg/joml/Vector4f;)V
      named drawEdge Lnet/minecraft/client/render/debug/LightDebugRenderer;drawEdge(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;DDDIIIIIILorg/joml/Vector4f;)V