Class PathfindingRenderer
java.lang.Object
net.minecraft.client.renderer.debug.PathfindingRenderer
- All Implemented Interfaces:
 DebugRenderer.SimpleDebugRenderer
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final floatprivate static final long - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidprivate static floatdistanceToCamera(BlockPos p_113635_, double p_113636_, double p_113637_, double p_113638_) private static voiddoRenderPath(Path p_113640_, float p_113641_, boolean p_113642_, boolean p_113643_, double p_113644_, double p_113645_, double p_113646_) voidrender(PoseStack p_113629_, MultiBufferSource p_113630_, double p_113631_, double p_113632_, double p_113633_) static voidrenderPath(Path p_113621_, float p_113622_, boolean p_113623_, boolean p_113624_, double p_113625_, double p_113626_, double p_113627_) static voidrenderPathLine(Path p_113616_, double p_113617_, double p_113618_, double p_113619_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.debug.DebugRenderer.SimpleDebugRenderer
clear 
- 
Field Details
- 
pathMap
 - 
pathMaxDist
 - 
creationMap
 - 
TIMEOUT
private static final long TIMEOUT- See Also:
 
 - 
MAX_RENDER_DIST
private static final float MAX_RENDER_DIST- See Also:
 
 - 
SHOW_OPEN_CLOSED
private static final boolean SHOW_OPEN_CLOSED- See Also:
 
 - 
SHOW_OPEN_CLOSED_COST_MALUS
private static final boolean SHOW_OPEN_CLOSED_COST_MALUS- See Also:
 
 - 
SHOW_OPEN_CLOSED_NODE_TYPE_WITH_TEXT
private static final boolean SHOW_OPEN_CLOSED_NODE_TYPE_WITH_TEXT- See Also:
 
 - 
SHOW_OPEN_CLOSED_NODE_TYPE_WITH_BOX
private static final boolean SHOW_OPEN_CLOSED_NODE_TYPE_WITH_BOX- See Also:
 
 - 
SHOW_GROUND_LABELS
private static final boolean SHOW_GROUND_LABELS- See Also:
 
 - 
TEXT_SCALE
private static final float TEXT_SCALE- See Also:
 
 
 - 
 - 
Constructor Details
- 
PathfindingRenderer
public PathfindingRenderer() 
 - 
 - 
Method Details
- 
addPath
 - 
render
public void render(PoseStack p_113629_, MultiBufferSource p_113630_, double p_113631_, double p_113632_, double p_113633_) - Specified by:
 renderin interfaceDebugRenderer.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_)  
 -