Class DebugRenderer

java.lang.Object
dev.upcraft.sparkweave.impl.client.render.DebugRenderer

public class DebugRenderer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    add(DebugRenderable renderable)
     
    static void
    drawLine(float startX, float startY, float startZ, float endX, float endY, float endZ, long duration)
     
    static void
    drawLine(com.mojang.blaze3d.vertex.PoseStack matrices, float startX, float startY, float startZ, float endX, float endY, float endZ, long duration)
     
    static void
    render(com.mojang.blaze3d.vertex.PoseStack matrices, net.minecraft.client.renderer.MultiBufferSource bufferSource, net.minecraft.client.Camera camera)
     
    static void
    setColor(int red, int green, int blue, int alpha)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DebugRenderer

      public DebugRenderer()
  • Method Details

    • setColor

      public static void setColor(int red, int green, int blue, int alpha)
    • add

      public static void add(DebugRenderable renderable)
    • drawLine

      public static void drawLine(float startX, float startY, float startZ, float endX, float endY, float endZ, long duration)
    • drawLine

      public static void drawLine(com.mojang.blaze3d.vertex.PoseStack matrices, float startX, float startY, float startZ, float endX, float endY, float endZ, long duration)
    • render

      public static void render(com.mojang.blaze3d.vertex.PoseStack matrices, net.minecraft.client.renderer.MultiBufferSource bufferSource, net.minecraft.client.Camera camera)