Class PathfindingDebugRenderer
java.lang.Object
net.minecraft.client.render.debug.PathfindingDebugRenderer
- All Implemented Interfaces:
DebugRenderer.Renderer
@Environment(CLIENT)
public class PathfindingDebugRenderer
extends Object
implements DebugRenderer.Renderer
- Mappings:
Namespace Name named net/minecraft/client/render/debug/PathfindingDebugRenderer
intermediary net/minecraft/class_868
official gpt
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final long
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
drawPath
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Path path, float nodeSize, boolean drawDebugNodes, boolean drawLabels, double cameraX, double cameraY, double cameraZ) static void
drawPathLines
(MatrixStack matrices, VertexConsumer vertexConsumers, Path path, double cameraX, double cameraY, double cameraZ) private static float
getManhattanDistance
(BlockPos pos, double x, double y, double z) void
render
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) 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.render.debug.DebugRenderer.Renderer
clear
-
Field Details
-
MAX_PATH_AGE
private static final long MAX_PATH_AGE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_PATH_AGE
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;MAX_PATH_AGE:J
intermediary field_32906
Lnet/minecraft/class_868;field_32906:J
official d
Lgpt;d:J
-
RANGE
private static final float RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named RANGE
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;RANGE:F
intermediary field_32907
Lnet/minecraft/class_868;field_32907:F
official e
Lgpt;e:F
-
field_32908
private static final boolean field_32908- See Also:
- Mappings:
Namespace Name Mixin selector named field_32908
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32908:Z
intermediary field_32908
Lnet/minecraft/class_868;field_32908:Z
official f
Lgpt;f:Z
-
field_32909
private static final boolean field_32909- See Also:
- Mappings:
Namespace Name Mixin selector named field_32909
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32909:Z
intermediary field_32909
Lnet/minecraft/class_868;field_32909:Z
official g
Lgpt;g:Z
-
field_32910
private static final boolean field_32910- See Also:
- Mappings:
Namespace Name Mixin selector named field_32910
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32910:Z
intermediary field_32910
Lnet/minecraft/class_868;field_32910:Z
official h
Lgpt;h:Z
-
field_32911
private static final boolean field_32911- See Also:
- Mappings:
Namespace Name Mixin selector named field_32911
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32911:Z
intermediary field_32911
Lnet/minecraft/class_868;field_32911:Z
official i
Lgpt;i:Z
-
field_32912
private static final boolean field_32912- See Also:
- Mappings:
Namespace Name Mixin selector named field_32912
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32912:Z
intermediary field_32912
Lnet/minecraft/class_868;field_32912:Z
official j
Lgpt;j:Z
-
DRAWN_STRING_SIZE
private static final float DRAWN_STRING_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named DRAWN_STRING_SIZE
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;DRAWN_STRING_SIZE:F
intermediary field_32913
Lnet/minecraft/class_868;field_32913:F
official k
Lgpt;k:F
-
paths
- Mappings:
Namespace Name Mixin selector named paths
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;paths:Ljava/util/Map;
intermediary field_4616
Lnet/minecraft/class_868;field_4616:Ljava/util/Map;
official a
Lgpt;a:Ljava/util/Map;
-
nodeSizes
- Mappings:
Namespace Name Mixin selector named nodeSizes
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;nodeSizes:Ljava/util/Map;
intermediary field_4617
Lnet/minecraft/class_868;field_4617:Ljava/util/Map;
official b
Lgpt;b:Ljava/util/Map;
-
pathTimes
- Mappings:
Namespace Name Mixin selector named pathTimes
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;pathTimes:Ljava/util/Map;
intermediary field_4615
Lnet/minecraft/class_868;field_4615:Ljava/util/Map;
official c
Lgpt;c:Ljava/util/Map;
-
-
Constructor Details
-
PathfindingDebugRenderer
public PathfindingDebugRenderer()
-
-
Method Details
-
addPath
- Mappings:
Namespace Name Mixin selector named addPath
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;addPath(ILnet/minecraft/entity/ai/pathing/Path;F)V
intermediary method_3869
Lnet/minecraft/class_868;method_3869(ILnet/minecraft/class_11;F)V
official a
Lgpt;a(ILeuk;F)V
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) - Specified by:
render
in interfaceDebugRenderer.Renderer
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
intermediary method_23109
Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)V
official a
Lgpk$a;a(Lfgr;Lglk;DDD)V
-
drawPath
public static void drawPath(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Path path, float nodeSize, boolean drawDebugNodes, boolean drawLabels, double cameraX, double cameraY, double cameraZ) - Mappings:
Namespace Name Mixin selector named drawPath
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;drawPath(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/entity/ai/pathing/Path;FZZDDD)V
intermediary method_23118
Lnet/minecraft/class_868;method_23118(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_11;FZZDDD)V
official a
Lgpt;a(Lfgr;Lglk;Leuk;FZZDDD)V
-
drawPathLines
public static void drawPathLines(MatrixStack matrices, VertexConsumer vertexConsumers, Path path, double cameraX, double cameraY, double cameraZ) - Mappings:
Namespace Name Mixin selector named drawPathLines
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;drawPathLines(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/entity/ai/pathing/Path;DDD)V
intermediary method_23117
Lnet/minecraft/class_868;method_23117(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_11;DDD)V
official a
Lgpt;a(Lfgr;Lfgv;Leuk;DDD)V
-
getManhattanDistance
- Mappings:
Namespace Name Mixin selector named getManhattanDistance
Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;getManhattanDistance(Lnet/minecraft/util/math/BlockPos;DDD)F
intermediary method_23119
Lnet/minecraft/class_868;method_23119(Lnet/minecraft/class_2338;DDD)F
official a
Lgpt;a(Ljh;DDD)F
-