Class PathfindingDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.PathfindingDebugRenderer
- All Implemented Interfaces:
DebugRenderer.IDebugRenderer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
private static float
distanceToCamera
(BlockPos p_229033_0_, double p_229033_1_, double p_229033_3_, double p_229033_5_) 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_) void
render
(MatrixStack p_225619_1_, IRenderTypeBuffer p_225619_2_, double p_225619_3_, double p_225619_5_, double p_225619_7_) 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_) static void
renderPathLine
(Path p_229031_0_, double p_229031_1_, double p_229031_3_, double p_229031_5_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.renderer.debug.DebugRenderer.IDebugRenderer
clear
-
Field Details
-
pathMap
-
pathMaxDist
-
creationMap
-
-
Constructor Details
-
PathfindingDebugRenderer
public PathfindingDebugRenderer()
-
-
Method Details
-
addPath
-
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 interfaceDebugRenderer.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_)
-