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(PoseStack p_270399_, MultiBufferSource p_270359_, Path p_270189_, float p_270841_, boolean p_270481_, boolean p_270748_, double p_270187_, double p_270252_, double p_270371_)
    • renderPathLine

      public static void renderPathLine(PoseStack p_270666_, VertexConsumer p_270602_, Path p_270511_, double p_270524_, double p_270163_, double p_270176_)
    • distanceToCamera

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