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 pos, double x, double y, double z) voidemitGizmos(double p_454876_, double p_455700_, double p_456095_, DebugValueAccess p_456203_, Frustum p_456018_, float p_455251_) private static voidrenderPath(double camX, double camY, double camZ, Path path, float maxNodeDistance) static voidrenderPath(Path path, float maxNodeDistance, boolean renderNodes, boolean renderInfo, double camX, double camY, double camZ) static voidrenderPathLine(Path path, double camX, double camY, double camZ)
-
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
-
emitGizmos
public void emitGizmos(double p_454876_, double p_455700_, double p_456095_, DebugValueAccess p_456203_, Frustum p_456018_, float p_455251_) - Specified by:
emitGizmosin interfaceDebugRenderer.SimpleDebugRenderer
-
renderPath
private static void renderPath(double camX, double camY, double camZ, Path path, float maxNodeDistance) -
renderPath
public static void renderPath(Path path, float maxNodeDistance, boolean renderNodes, boolean renderInfo, double camX, double camY, double camZ) -
renderPathLine
-
distanceToCamera
-