Class PathfindingRenderer

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

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

  • Constructor Details

    • PathfindingRenderer

      public PathfindingRenderer()
  • Method Details

    • addPath

      public void addPath(int p_113612_, Path p_113613_, float p_113614_)
    • render

      public void render(PoseStack p_113629_, MultiBufferSource p_113630_, double p_113631_, double p_113632_, double p_113633_)
      Specified by:
      render in interface DebugRenderer.SimpleDebugRenderer
    • renderPath

      public static void renderPath(Path p_113621_, float p_113622_, boolean p_113623_, boolean p_113624_, double p_113625_, double p_113626_, double p_113627_)
    • doRenderPath

      private static void doRenderPath(Path p_113640_, float p_113641_, boolean p_113642_, boolean p_113643_, double p_113644_, double p_113645_, double p_113646_)
    • renderPathLine

      public static void renderPathLine(Path p_113616_, double p_113617_, double p_113618_, double p_113619_)
    • distanceToCamera

      private static float distanceToCamera(BlockPos p_113635_, double p_113636_, double p_113637_, double p_113638_)