Class PathfindingDebugRenderer

java.lang.Object
net.minecraft.client.renderer.debug.PathfindingDebugRenderer
All Implemented Interfaces:
DebugRenderer.IDebugRenderer

public class PathfindingDebugRenderer extends Object implements DebugRenderer.IDebugRenderer
  • Field Details

  • Constructor Details

    • PathfindingDebugRenderer

      public PathfindingDebugRenderer()
  • Method Details

    • addPath

      public void addPath(int p_188289_1_, Path p_188289_2_, float p_188289_3_)
    • render

      public void render(MatrixStack p_225619_1_, IRenderTypeBuffer p_225619_2_, double p_225619_3_, double p_225619_5_, double p_225619_7_)
      Specified by:
      render in interface DebugRenderer.IDebugRenderer
    • renderPath

      public static void renderPath(Path p_229032_0_, float p_229032_1_, boolean p_229032_2_, boolean p_229032_3_, double p_229032_4_, double p_229032_6_, double p_229032_8_)
    • doRenderPath

      private static void doRenderPath(Path p_229034_0_, float p_229034_1_, boolean p_229034_2_, boolean p_229034_3_, double p_229034_4_, double p_229034_6_, double p_229034_8_)
    • renderPathLine

      public static void renderPathLine(Path p_229031_0_, double p_229031_1_, double p_229031_3_, double p_229031_5_)
    • distanceToCamera

      private static float distanceToCamera(BlockPos p_229033_0_, double p_229033_1_, double p_229033_3_, double p_229033_5_)