类 PathfindingRenderer

java.lang.Object
net.minecraft.client.renderer.debug.PathfindingRenderer
所有已实现的接口:
DebugRenderer.SimpleDebugRenderer

public class PathfindingRenderer extends Object implements DebugRenderer.SimpleDebugRenderer
  • 字段详细资料

    • pathMap

      private final Map<Integer,Path> pathMap
    • pathMaxDist

      private final Map<Integer,Float> pathMaxDist
    • creationMap

      private final Map<Integer,Long> creationMap
    • TIMEOUT

      private static final long TIMEOUT
      另请参阅:
    • MAX_RENDER_DIST

      private static final float MAX_RENDER_DIST
      另请参阅:
    • SHOW_OPEN_CLOSED

      private static final boolean SHOW_OPEN_CLOSED
      另请参阅:
    • SHOW_OPEN_CLOSED_COST_MALUS

      private static final boolean SHOW_OPEN_CLOSED_COST_MALUS
      另请参阅:
    • SHOW_OPEN_CLOSED_NODE_TYPE_WITH_TEXT

      private static final boolean SHOW_OPEN_CLOSED_NODE_TYPE_WITH_TEXT
      另请参阅:
    • SHOW_OPEN_CLOSED_NODE_TYPE_WITH_BOX

      private static final boolean SHOW_OPEN_CLOSED_NODE_TYPE_WITH_BOX
      另请参阅:
    • SHOW_GROUND_LABELS

      private static final boolean SHOW_GROUND_LABELS
      另请参阅:
    • TEXT_SCALE

      private static final float TEXT_SCALE
      另请参阅:
  • 构造器详细资料

    • PathfindingRenderer

      public PathfindingRenderer()
  • 方法详细资料

    • addPath

      public void addPath(int p_113612_, Path p_113613_, float p_113614_)
    • render

      public void render(PoseStack p_113629_, MultiBufferSource p_113630_, double p_113631_, double p_113632_, double p_113633_)
      指定者:
      render 在接口中 DebugRenderer.SimpleDebugRenderer
    • renderPath

      public static void renderPath(PoseStack p_270399_, MultiBufferSource p_270359_, Path p_270189_, float p_270841_, boolean p_270481_, boolean p_270748_, double p_270187_, double p_270252_, double p_270371_)
    • renderPathLine

      public static void renderPathLine(PoseStack p_270666_, VertexConsumer p_270602_, Path p_270511_, double p_270524_, double p_270163_, double p_270176_)
    • distanceToCamera

      private static float distanceToCamera(BlockPos p_113635_, double p_113636_, double p_113637_, double p_113638_)