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/PathfindingDebugRendererintermediary net/minecraft/class_868official hma
-
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 intprivate static final booleanprivate static final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddrawPath(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Path path, float nodeSize, boolean drawDebugNodes, boolean drawLabels, double cameraX, double cameraY, double cameraZ) static voiddrawPathLines(MatrixStack matrices, VertexConsumer vertexConsumers, Path path, double cameraX, double cameraY, double cameraZ) private static floatgetManhattanDistance(BlockPos pos, double x, double y, double z) private static voidrender(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, Path path, float maxNodeDistance) voidrender(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, DebugDataStore store, Frustum frustum)
-
Field Details
-
RANGE
private static final float RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named RANGELnet/minecraft/client/render/debug/PathfindingDebugRenderer;RANGE:Fintermediary field_32907Lnet/minecraft/class_868;field_32907:Fofficial aLhma;a:F
-
field_62974
private static final int field_62974- See Also:
- Mappings:
Namespace Name Mixin selector named field_62974Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_62974:Iintermediary field_62974Lnet/minecraft/class_868;field_62974:Iofficial bLhma;b:I
-
field_62975
private static final boolean field_62975- See Also:
- Mappings:
Namespace Name Mixin selector named field_62975Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_62975:Zintermediary field_62975Lnet/minecraft/class_868;field_62975:Zofficial cLhma;c:Z
-
field_32908
private static final boolean field_32908- See Also:
- Mappings:
Namespace Name Mixin selector named field_32908Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32908:Zintermediary field_32908Lnet/minecraft/class_868;field_32908:Zofficial dLhma;d:Z
-
field_32909
private static final boolean field_32909- See Also:
- Mappings:
Namespace Name Mixin selector named field_32909Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32909:Zintermediary field_32909Lnet/minecraft/class_868;field_32909:Zofficial eLhma;e:Z
-
field_32910
private static final boolean field_32910- See Also:
- Mappings:
Namespace Name Mixin selector named field_32910Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32910:Zintermediary field_32910Lnet/minecraft/class_868;field_32910:Zofficial fLhma;f:Z
-
field_32911
private static final boolean field_32911- See Also:
- Mappings:
Namespace Name Mixin selector named field_32911Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32911:Zintermediary field_32911Lnet/minecraft/class_868;field_32911:Zofficial gLhma;g:Z
-
field_32912
private static final boolean field_32912- See Also:
- Mappings:
Namespace Name Mixin selector named field_32912Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32912:Zintermediary field_32912Lnet/minecraft/class_868;field_32912:Zofficial hLhma;h:Z
-
DRAWN_STRING_SIZE
private static final float DRAWN_STRING_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named DRAWN_STRING_SIZELnet/minecraft/client/render/debug/PathfindingDebugRenderer;DRAWN_STRING_SIZE:Fintermediary field_32913Lnet/minecraft/class_868;field_32913:Fofficial iLhma;i:F
-
-
Constructor Details
-
PathfindingDebugRenderer
public PathfindingDebugRenderer()
-
-
Method Details
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, DebugDataStore store, Frustum frustum) - Specified by:
renderin interfaceDebugRenderer.Renderer- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDDLnet/minecraft/world/debug/DebugDataStore;Lnet/minecraft/client/render/Frustum;)Vintermediary method_23109Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDDLnet/minecraft/class_12021;Lnet/minecraft/class_4604;)Vofficial aLhlq$a;a(Lfua;Lhfw;DDDLbvu;Lhlh;)V
-
render
private static void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, Path path, float maxNodeDistance) - Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/debug/PathfindingDebugRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDDLnet/minecraft/entity/ai/pathing/Path;F)Vintermediary method_74798Lnet/minecraft/class_868;method_74798(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDDLnet/minecraft/class_11;F)Vofficial aLhma;a(Lfua;Lhfw;DDDLfgo;F)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 drawPathLnet/minecraft/client/render/debug/PathfindingDebugRenderer;drawPath(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/entity/ai/pathing/Path;FZZDDD)Vintermediary method_23118Lnet/minecraft/class_868;method_23118(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_11;FZZDDD)Vofficial aLhma;a(Lfua;Lhfw;Lfgo;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 drawPathLinesLnet/minecraft/client/render/debug/PathfindingDebugRenderer;drawPathLines(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/entity/ai/pathing/Path;DDD)Vintermediary method_23117Lnet/minecraft/class_868;method_23117(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_11;DDD)Vofficial aLhma;a(Lfua;Lfud;Lfgo;DDD)V
-
getManhattanDistance
- Mappings:
Namespace Name Mixin selector named getManhattanDistanceLnet/minecraft/client/render/debug/PathfindingDebugRenderer;getManhattanDistance(Lnet/minecraft/util/math/BlockPos;DDD)Fintermediary method_23119Lnet/minecraft/class_868;method_23119(Lnet/minecraft/class_2338;DDD)Fofficial aLhma;a(Lja;DDD)F
-