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

    • paths

      private final Map<Integer,​Path> paths
      Mappings:
      Namespace Name Mixin selector
      official a Lela;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 Lela;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 Lela;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 Lela;a(ILdct;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 Lekt$a;a(Ldlr;Lehq;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 Lela;a(Ldct;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 Lela;b(Ldct;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 Lela;a(Ldct;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 Lela;a(Lfx;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