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
named net/minecraft/client/render/debug/LightDebugRenderer
intermediary net/minecraft/class_8520
official hpg
  • Field Details

    • UPDATE_INTERVAL

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

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

      private static final int READY_SHAPE_COLOR
      Mappings:
      Namespace Name Mixin selector
      named READY_SHAPE_COLOR Lnet/minecraft/client/render/debug/LightDebugRenderer;READY_SHAPE_COLOR:I
      intermediary field_44677 Lnet/minecraft/class_8520;field_44677:I
      official c Lhpg;c:I
    • DEFAULT_SHAPE_COLOR

      private static final int DEFAULT_SHAPE_COLOR
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SHAPE_COLOR Lnet/minecraft/client/render/debug/LightDebugRenderer;DEFAULT_SHAPE_COLOR:I
      intermediary field_44678 Lnet/minecraft/class_8520;field_44678:I
      official d Lhpg;d:I
    • client

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

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

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

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

    • LightDebugRenderer

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

    • render

      public void render(double double2, double cameraX, double cameraY, DebugDataStore store, Frustum frustum, float tickDelta)
      Specified by:
      render in interface DebugRenderer.Renderer
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(DDDLnet/minecraft/world/debug/DebugDataStore;Lnet/minecraft/client/render/Frustum;F)V
      intermediary method_23109 Lnet/minecraft/class_863$class_864;method_23109(DDDLnet/minecraft/class_12021;Lnet/minecraft/class_4604;F)V
      official a Lhoy$a;a(DDDLbxa;Lhop;F)V
    • drawFaces

      private static void drawFaces(VoxelSet voxelSet, ChunkSectionPos chunkSectionPos, int int2)
      Mappings:
      Namespace Name Mixin selector
      named drawFaces Lnet/minecraft/client/render/debug/LightDebugRenderer;drawFaces(Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/math/ChunkSectionPos;I)V
      intermediary method_51457 Lnet/minecraft/class_8520;method_51457(Lnet/minecraft/class_251;Lnet/minecraft/class_4076;I)V
      official a Lhpg;a(Lfrm;Lkc;I)V
    • drawEdges

      private static void drawEdges(VoxelSet voxelSet, ChunkSectionPos chunkSectionPos, int int2)
      Mappings:
      Namespace Name Mixin selector
      named drawEdges Lnet/minecraft/client/render/debug/LightDebugRenderer;drawEdges(Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/math/ChunkSectionPos;I)V
      intermediary method_51458 Lnet/minecraft/class_8520;method_51458(Lnet/minecraft/class_251;Lnet/minecraft/class_4076;I)V
      official b Lhpg;b(Lfrm;Lkc;I)V
    • drawFace

      private static void drawFace(Direction direction, int int2, int int3, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      named drawFace Lnet/minecraft/client/render/debug/LightDebugRenderer;drawFace(Lnet/minecraft/util/math/Direction;IIII)V
      intermediary method_51460 Lnet/minecraft/class_8520;method_51460(Lnet/minecraft/class_2350;IIII)V
      official a Lhpg;a(Ljf;IIII)V
    • drawEdge

      private static void drawEdge(int int2, int int3, int int4, int int5, int int6, int int7, int int8)
      Mappings:
      Namespace Name Mixin selector
      named drawEdge Lnet/minecraft/client/render/debug/LightDebugRenderer;drawEdge(IIIIIII)V
      intermediary method_51459 Lnet/minecraft/class_8520;method_51459(IIIIIII)V
      official a Lhpg;a(IIIIIII)V