Class PathfindingDebugRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.debug.PathfindingDebugRenderer
-
- All Implemented Interfaces:
DebugRenderer.IDebugRenderer
public class PathfindingDebugRenderer extends java.lang.Object implements DebugRenderer.IDebugRenderer
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.lang.Long>
creationMap
private java.util.Map<java.lang.Integer,Path>
pathMap
private java.util.Map<java.lang.Integer,java.lang.Float>
pathMaxDist
-
Constructor Summary
Constructors Constructor Description PathfindingDebugRenderer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPath(int p_188289_1_, Path p_188289_2_, float p_188289_3_)
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 Detail
-
pathMap
private final java.util.Map<java.lang.Integer,Path> pathMap
-
pathMaxDist
private final java.util.Map<java.lang.Integer,java.lang.Float> pathMaxDist
-
creationMap
private final java.util.Map<java.lang.Integer,java.lang.Long> creationMap
-
-
Method Detail
-
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 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_)
-
-