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

    • field_32906

      private static final long field_32906
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Leqp;d:J
      intermediary field_32906 Lnet/minecraft/class_868;field_32906:J
      named field_32906 Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32906:J
    • field_32907

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

      private static final boolean field_32908
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official f Leqp;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official g Leqp;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official h Leqp;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official i Leqp;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official j Leqp;j:Z
      intermediary field_32912 Lnet/minecraft/class_868;field_32912:Z
      named field_32912 Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32912:Z
    • field_32913

      private static final float field_32913
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official k Leqp;k:F
      intermediary field_32913 Lnet/minecraft/class_868;field_32913:F
      named field_32913 Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32913:F
    • paths

      private final Map<Integer,​Path> paths
      Mappings:
      Namespace Name Mixin selector
      official a Leqp;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;
    • field_4617

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

      private final Map<Integer,​Long> pathTimes
      Mappings:
      Namespace Name Mixin selector
      official c Leqp;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 float2)
      Mappings:
      Namespace Name Mixin selector
      official a Leqp;a(ILdha;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 Leqi$a;a(Ldqk;Lenh;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 bool, boolean drawLabels, double cameraX, double cameraY, double cameraZ)
      Mappings:
      Namespace Name Mixin selector
      official a Leqp;a(Ldha;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 bool, boolean drawLabels, double cameraX, double cameraY, double cameraZ)
      Mappings:
      Namespace Name Mixin selector
      official b Leqp;b(Ldha;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 Leqp;a(Ldha;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 Leqp;a(Lgg;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