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 fhg
intermediary net/minecraft/class_868
named net/minecraft/client/render/debug/PathfindingDebugRenderer
  • Field Details

    • MAX_PATH_AGE

      private static final long MAX_PATH_AGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lfhg;d:J
      intermediary field_32906 Lnet/minecraft/class_868;field_32906:J
      named MAX_PATH_AGE Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;MAX_PATH_AGE:J
    • RANGE

      private static final float RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lfhg;e:F
      intermediary field_32907 Lnet/minecraft/class_868;field_32907:F
      named RANGE Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;RANGE:F
    • field_32908

      private static final boolean field_32908
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lfhg;f:Z
      intermediary field_32908 Lnet/minecraft/class_868;field_32908:Z
      named field_32908 Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32908:Z
    • field_32909

      private static final boolean field_32909
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lfhg;g:Z
      intermediary field_32909 Lnet/minecraft/class_868;field_32909:Z
      named field_32909 Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32909:Z
    • field_32910

      private static final boolean field_32910
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lfhg;h:Z
      intermediary field_32910 Lnet/minecraft/class_868;field_32910:Z
      named field_32910 Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32910:Z
    • field_32911

      private static final boolean field_32911
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lfhg;i:Z
      intermediary field_32911 Lnet/minecraft/class_868;field_32911:Z
      named field_32911 Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32911:Z
    • field_32912

      private static final boolean field_32912
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lfhg;j:Z
      intermediary field_32912 Lnet/minecraft/class_868;field_32912:Z
      named field_32912 Lnet/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 k Lfhg;k:F
      intermediary field_32913 Lnet/minecraft/class_868;field_32913:F
      named DRAWN_STRING_SIZE Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;DRAWN_STRING_SIZE:F
    • paths

      private final Map<Integer,Path> paths
      Mappings:
      Namespace Name Mixin selector
      official a Lfhg;a:Ljava/util/Map;
      intermediary field_4616 Lnet/minecraft/class_868;field_4616:Ljava/util/Map;
      named paths Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;paths:Ljava/util/Map;
    • nodeSizes

      private final Map<Integer,Float> nodeSizes
      Mappings:
      Namespace Name Mixin selector
      official b Lfhg;b:Ljava/util/Map;
      intermediary field_4617 Lnet/minecraft/class_868;field_4617:Ljava/util/Map;
      named nodeSizes Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;nodeSizes:Ljava/util/Map;
    • pathTimes

      private final Map<Integer,Long> pathTimes
      Mappings:
      Namespace Name Mixin selector
      official c Lfhg;c:Ljava/util/Map;
      intermediary field_4615 Lnet/minecraft/class_868;field_4615:Ljava/util/Map;
      named pathTimes Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;pathTimes:Ljava/util/Map;
  • Constructor Details

    • PathfindingDebugRenderer

      public PathfindingDebugRenderer()
  • Method Details

    • addPath

      public void addPath(int id, Path path, float nodeSize)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhg;a(ILdtz;F)V
      intermediary method_3869 Lnet/minecraft/class_868;method_3869(ILnet/minecraft/class_11;F)V
      named addPath Lnet/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:
      render in interface DebugRenderer.Renderer
      Mappings:
      Namespace Name Mixin selector
      official a Lfgz$a;a(Leed;Lfdv;DDD)V
      intermediary method_23109 Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)V
      named render Lnet/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(Path path, float nodeSize, boolean drawDebugNodes, boolean drawLabels, double cameraX, double cameraY, double cameraZ)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhg;a(Ldtz;FZZDDD)V
      intermediary method_23118 Lnet/minecraft/class_868;method_23118(Lnet/minecraft/class_11;FZZDDD)V
      named drawPath Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;drawPath(Lnet/minecraft/entity/ai/pathing/Path;FZZDDD)V
    • drawPathInternal

      private static void drawPathInternal(Path path, float nodeSize, boolean drawDebugNodes, boolean drawLabels, double cameraX, double cameraY, double cameraZ)
      Mappings:
      Namespace Name Mixin selector
      official b Lfhg;b(Ldtz;FZZDDD)V
      intermediary method_23121 Lnet/minecraft/class_868;method_23121(Lnet/minecraft/class_11;FZZDDD)V
      named drawPathInternal Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;drawPathInternal(Lnet/minecraft/entity/ai/pathing/Path;FZZDDD)V
    • drawPathLines

      public static void drawPathLines(Path path, double cameraX, double cameraY, double cameraZ)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhg;a(Ldtz;DDD)V
      intermediary method_23117 Lnet/minecraft/class_868;method_23117(Lnet/minecraft/class_11;DDD)V
      named drawPathLines Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;drawPathLines(Lnet/minecraft/entity/ai/pathing/Path;DDD)V
    • getManhattanDistance

      private static float getManhattanDistance(BlockPos pos, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhg;a(Lgp;DDD)F
      intermediary method_23119 Lnet/minecraft/class_868;method_23119(Lnet/minecraft/class_2338;DDD)F
      named getManhattanDistance Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;getManhattanDistance(Lnet/minecraft/util/math/BlockPos;DDD)F