Class PathfindingRenderer
java.lang.Object
net.minecraft.client.renderer.debug.PathfindingRenderer
- All Implemented Interfaces:
- DebugRenderer.SimpleDebugRenderer
- 
Field SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidprivate static floatdistanceToCamera(BlockPos p_113635_, double p_113636_, double p_113637_, double p_113638_) voidrender(PoseStack p_113629_, MultiBufferSource p_113630_, double p_113631_, double p_113632_, double p_113633_) static voidrenderPath(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_) static voidrenderPathLine(PoseStack p_270666_, VertexConsumer p_270602_, Path p_270511_, double p_270524_, double p_270163_, double p_270176_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.debug.DebugRenderer.SimpleDebugRendererclear
- 
Field Details- 
pathMap
- 
pathMaxDist
- 
creationMap
- 
TIMEOUTprivate static final long TIMEOUT- See Also:
 
- 
MAX_RENDER_DISTprivate static final float MAX_RENDER_DIST- See Also:
 
- 
SHOW_OPEN_CLOSEDprivate static final boolean SHOW_OPEN_CLOSED- See Also:
 
- 
SHOW_OPEN_CLOSED_COST_MALUSprivate static final boolean SHOW_OPEN_CLOSED_COST_MALUS- See Also:
 
- 
SHOW_OPEN_CLOSED_NODE_TYPE_WITH_TEXTprivate static final boolean SHOW_OPEN_CLOSED_NODE_TYPE_WITH_TEXT- See Also:
 
- 
SHOW_OPEN_CLOSED_NODE_TYPE_WITH_BOXprivate static final boolean SHOW_OPEN_CLOSED_NODE_TYPE_WITH_BOX- See Also:
 
- 
SHOW_GROUND_LABELSprivate static final boolean SHOW_GROUND_LABELS- See Also:
 
- 
TEXT_SCALEprivate static final float TEXT_SCALE- See Also:
 
 
- 
- 
Constructor Details- 
PathfindingRendererpublic PathfindingRenderer()
 
- 
- 
Method Details- 
addPath
- 
renderpublic void render(PoseStack p_113629_, MultiBufferSource p_113630_, double p_113631_, double p_113632_, double p_113633_) - Specified by:
- renderin interface- DebugRenderer.SimpleDebugRenderer
 
- 
renderPathpublic 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_) 
- 
renderPathLinepublic static void renderPathLine(PoseStack p_270666_, VertexConsumer p_270602_, Path p_270511_, double p_270524_, double p_270163_, double p_270176_) 
- 
distanceToCameraprivate static float distanceToCamera(BlockPos p_113635_, double p_113636_, double p_113637_, double p_113638_) 
 
-