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 intprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static floatdistanceToCamera(BlockPos pPos, double pX, double pY, double pZ) voidrender(PoseStack p_113629_, MultiBufferSource p_113630_, double p_113631_, double p_113632_, double p_113633_, DebugValueAccess p_449626_, Frustum p_451102_) private static voidrenderPath(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pX, double pY, double pZ, Path pPath, float pNodeSize) static voidrenderPath(PoseStack pPoseStack, MultiBufferSource pBufferSource, Path pPath, float pNodeSize, boolean pRenderDebugNodes, boolean pRenderDebugInfo, double pX, double pY, double pZ) static voidrenderPathLine(PoseStack pPoseStack, VertexConsumer pConsumer, Path pPath, double pX, double pY, double pZ)
-
Field Details
-
MAX_RENDER_DIST
private static final float MAX_RENDER_DIST- See Also:
-
MAX_TARGETING_DIST
private static final int MAX_TARGETING_DIST- See Also:
-
SHOW_ONLY_SELECTED
private static final boolean SHOW_ONLY_SELECTED- 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
-
render
public void render(PoseStack p_113629_, MultiBufferSource p_113630_, double p_113631_, double p_113632_, double p_113633_, DebugValueAccess p_449626_, Frustum p_451102_) - Specified by:
renderin interfaceDebugRenderer.SimpleDebugRenderer
-
renderPath
private static void renderPath(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pX, double pY, double pZ, Path pPath, float pNodeSize) -
renderPath
public static void renderPath(PoseStack pPoseStack, MultiBufferSource pBufferSource, Path pPath, float pNodeSize, boolean pRenderDebugNodes, boolean pRenderDebugInfo, double pX, double pY, double pZ) -
renderPathLine
public static void renderPathLine(PoseStack pPoseStack, VertexConsumer pConsumer, Path pPath, double pX, double pY, double pZ) -
distanceToCamera
-