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 official fkeintermediary net/minecraft/class_868named net/minecraft/client/render/debug/PathfindingDebugRenderer
-
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 longprivate static final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voiddrawPath(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, Path path, float float2, boolean bool, boolean bool2, double double2, double double3, double double4) static voiddrawPathLines(MatrixStack matrixStack, VertexConsumer vertexConsumer, Path path, double double2, double double3, double double4) private static floatgetManhattanDistance(BlockPos pos, double x, double y, double z) voidrender(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, waitMethods 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 official dLfke;d:Jintermediary field_32906Lnet/minecraft/class_868;field_32906:Jnamed MAX_PATH_AGELnet/minecraft/client/render/debug/PathfindingDebugRenderer;MAX_PATH_AGE:J
-
RANGE
private static final float RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official eLfke;e:Fintermediary field_32907Lnet/minecraft/class_868;field_32907:Fnamed RANGELnet/minecraft/client/render/debug/PathfindingDebugRenderer;RANGE:F
-
field_32908
private static final boolean field_32908- See Also:
- Mappings:
Namespace Name Mixin selector official fLfke;f:Zintermediary field_32908Lnet/minecraft/class_868;field_32908:Znamed field_32908Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32908:Z
-
field_32909
private static final boolean field_32909- See Also:
- Mappings:
Namespace Name Mixin selector official gLfke;g:Zintermediary field_32909Lnet/minecraft/class_868;field_32909:Znamed field_32909Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32909:Z
-
field_32910
private static final boolean field_32910- See Also:
- Mappings:
Namespace Name Mixin selector official hLfke;h:Zintermediary field_32910Lnet/minecraft/class_868;field_32910:Znamed field_32910Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32910:Z
-
field_32911
private static final boolean field_32911- See Also:
- Mappings:
Namespace Name Mixin selector official iLfke;i:Zintermediary field_32911Lnet/minecraft/class_868;field_32911:Znamed field_32911Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32911:Z
-
field_32912
private static final boolean field_32912- See Also:
- Mappings:
Namespace Name Mixin selector official jLfke;j:Zintermediary field_32912Lnet/minecraft/class_868;field_32912:Znamed field_32912Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32912:Z
-
DRAWN_STRING_SIZE
private static final float DRAWN_STRING_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official kLfke;k:Fintermediary field_32913Lnet/minecraft/class_868;field_32913:Fnamed DRAWN_STRING_SIZELnet/minecraft/client/render/debug/PathfindingDebugRenderer;DRAWN_STRING_SIZE:F
-
paths
- Mappings:
Namespace Name Mixin selector official aLfke;a:Ljava/util/Map;intermediary field_4616Lnet/minecraft/class_868;field_4616:Ljava/util/Map;named pathsLnet/minecraft/client/render/debug/PathfindingDebugRenderer;paths:Ljava/util/Map;
-
nodeSizes
- Mappings:
Namespace Name Mixin selector official bLfke;b:Ljava/util/Map;intermediary field_4617Lnet/minecraft/class_868;field_4617:Ljava/util/Map;named nodeSizesLnet/minecraft/client/render/debug/PathfindingDebugRenderer;nodeSizes:Ljava/util/Map;
-
pathTimes
- Mappings:
Namespace Name Mixin selector official cLfke;c:Ljava/util/Map;intermediary field_4615Lnet/minecraft/class_868;field_4615:Ljava/util/Map;named pathTimesLnet/minecraft/client/render/debug/PathfindingDebugRenderer;pathTimes:Ljava/util/Map;
-
-
Constructor Details
-
PathfindingDebugRenderer
public PathfindingDebugRenderer()
-
-
Method Details
-
addPath
- Mappings:
Namespace Name Mixin selector official aLfke;a(ILdvw;F)Vintermediary method_3869Lnet/minecraft/class_868;method_3869(ILnet/minecraft/class_11;F)Vnamed addPathLnet/minecraft/client/render/debug/PathfindingDebugRenderer;addPath(ILnet/minecraft/entity/ai/pathing/Path;F)V
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) - Specified by:
renderin interfaceDebugRenderer.Renderer- Mappings:
Namespace Name Mixin selector official aLfjx$a;a(Lega;Lfgt;DDD)Vintermediary method_23109Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)Vnamed renderLnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
-
drawPath
public static void drawPath(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, Path path, float float2, boolean bool, boolean bool2, double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official aLfke;a(Lega;Lfgt;Ldvw;FZZDDD)Vintermediary method_23118Lnet/minecraft/class_868;method_23118(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_11;FZZDDD)Vnamed 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)V
-
drawPathLines
public static void drawPathLines(MatrixStack matrixStack, VertexConsumer vertexConsumer, Path path, double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official aLfke;a(Lega;Lege;Ldvw;DDD)Vintermediary method_23117Lnet/minecraft/class_868;method_23117(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_11;DDD)Vnamed 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)V
-
getManhattanDistance
- Mappings:
Namespace Name Mixin selector official aLfke;a(Lgr;DDD)Fintermediary method_23119Lnet/minecraft/class_868;method_23119(Lnet/minecraft/class_2338;DDD)Fnamed getManhattanDistanceLnet/minecraft/client/render/debug/PathfindingDebugRenderer;getManhattanDistance(Lnet/minecraft/util/math/BlockPos;DDD)F
-