Class LightSectionDebugRenderer

java.lang.Object
net.minecraft.client.renderer.debug.LightSectionDebugRenderer
All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer

public class LightSectionDebugRenderer extends Object implements DebugRenderer.SimpleDebugRenderer
  • Field Details

  • Constructor Details

    • LightSectionDebugRenderer

      public LightSectionDebugRenderer(Minecraft minecraft, LightLayer lightLayer)
  • Method Details

    • emitGizmos

      public void emitGizmos(double camX, double camY, double camZ, DebugValueAccess debugValues, Frustum frustum, float partialTicks)
      Specified by:
      emitGizmos in interface DebugRenderer.SimpleDebugRenderer
    • renderFaces

      private static void renderFaces(DiscreteVoxelShape shape, SectionPos minSection, int color)
    • renderEdges

      private static void renderEdges(DiscreteVoxelShape shape, SectionPos minSection, int color)
    • renderFace

      private static void renderFace(Direction direction, int sectionX, int sectionY, int sectionZ, int color)
    • renderEdge

      private static void renderEdge(int sectionX0, int sectionY0, int sectionZ0, int sectionX1, int sectionY1, int sectionZ1, int color)