Class PathfindingDebugRenderer
java.lang.Object
net.minecraft.client.render.debug.PathfindingDebugRenderer
- All Implemented Interfaces:
DebugRenderer.Renderer
@Environment(CLIENT) public class PathfindingDebugRenderer extends Object implements DebugRenderer.Renderer
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PathfindingDebugRenderer() -
Method Summary
Modifier and Type Method Description voidaddPath(int id, Path path, float float2)static voiddrawPath(Path path, float nodeSize, boolean bool, boolean drawLabels, double cameraX, double cameraY, double cameraZ)private static voiddrawPathInternal(Path path, float nodeSize, boolean bool, boolean drawLabels, double cameraX, double cameraY, double cameraZ)static voiddrawPathLines(Path path, double cameraX, double cameraY, double cameraZ)private static floatgetManhattanDistance(BlockPos pos, double x, double y, double z)voidrender(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.render.debug.DebugRenderer.Renderer
clear
-
Field Details
-
paths
-
field_4617
-
pathTimes
-
-
Constructor Details
-
PathfindingDebugRenderer
public PathfindingDebugRenderer()
-
-
Method Details
-
addPath
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)- Specified by:
renderin interfaceDebugRenderer.Renderer
-
drawPath
public static void drawPath(Path path, float nodeSize, boolean bool, boolean drawLabels, double cameraX, double cameraY, double cameraZ) -
drawPathInternal
private static void drawPathInternal(Path path, float nodeSize, boolean bool, boolean drawLabels, double cameraX, double cameraY, double cameraZ) -
drawPathLines
-
getManhattanDistance
-