类 PathfindingDebugRenderer
- java.lang.Object
-
- net.minecraft.client.render.debug.PathfindingDebugRenderer
-
- 所有已实现的接口:
DebugRenderer.Renderer
@Environment(CLIENT) public class PathfindingDebugRenderer extends Object implements DebugRenderer.Renderer
- Mappings:
Namespace Name official epiintermediary net/minecraft/class_868named net/minecraft/client/render/debug/PathfindingDebugRenderer
-
-
字段概要
字段 修饰符和类型 字段 说明 private static longfield_32906private static floatfield_32907private static booleanfield_32908private static booleanfield_32909private static booleanfield_32910private static booleanfield_32911private static booleanfield_32912private static floatfield_32913private Map<Integer,Float>field_4617private Map<Integer,Path>pathsprivate Map<Integer,Long>pathTimes
-
构造器概要
构造器 构造器 说明 PathfindingDebugRenderer()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddPath(int id, Path path, float float2)static voiddrawPath(Path path, float nodeSize, boolean bool, boolean drawLabels, double cameraX, double cameraY, double cameraZ)private static voiddrawPathInternal(Path path, float nodeSize, boolean bool, boolean drawLabels, double cameraX, double cameraY, double cameraZ)static voiddrawPathLines(Path path, double cameraX, double cameraY, double cameraZ)private static floatgetManhattanDistance(BlockPos pos, double x, double y, double z)voidrender(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.render.debug.DebugRenderer.Renderer
clear
-
-
-
-
字段详细资料
-
field_32906
private static final long field_32906
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLepi;d:Jintermediary field_32906Lnet/minecraft/class_868;field_32906:Jnamed field_32906Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32906:J
-
field_32907
private static final float field_32907
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official eLepi;e:Fintermediary field_32907Lnet/minecraft/class_868;field_32907:Fnamed field_32907Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32907:F
-
field_32908
private static final boolean field_32908
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official fLepi;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official gLepi;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official hLepi;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official iLepi;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official jLepi;j:Zintermediary field_32912Lnet/minecraft/class_868;field_32912:Znamed field_32912Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32912:Z
-
field_32913
private static final float field_32913
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official kLepi;k:Fintermediary field_32913Lnet/minecraft/class_868;field_32913:Fnamed field_32913Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_32913:F
-
paths
private final Map<Integer,Path> paths
- Mappings:
Namespace Name Mixin selector official aLepi;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;
-
field_4617
private final Map<Integer,Float> field_4617
- Mappings:
Namespace Name Mixin selector official bLepi;b:Ljava/util/Map;intermediary field_4617Lnet/minecraft/class_868;field_4617:Ljava/util/Map;named field_4617Lnet/minecraft/client/render/debug/PathfindingDebugRenderer;field_4617:Ljava/util/Map;
-
pathTimes
private final Map<Integer,Long> pathTimes
- Mappings:
Namespace Name Mixin selector official cLepi;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;
-
-
方法详细资料
-
addPath
public void addPath(int id, Path path, float float2)- Mappings:
Namespace Name Mixin selector official aLepi;a(ILdga;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)
- 指定者:
render在接口中DebugRenderer.Renderer- Mappings:
Namespace Name Mixin selector official aLepb$a;a(Ldpi;Lema;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(Path path, float nodeSize, boolean bool, boolean drawLabels, double cameraX, double cameraY, double cameraZ)
- Mappings:
Namespace Name Mixin selector official aLepi;a(Ldga;FZZDDD)Vintermediary method_23118Lnet/minecraft/class_868;method_23118(Lnet/minecraft/class_11;FZZDDD)Vnamed drawPathLnet/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 bLepi;b(Ldga;FZZDDD)Vintermediary method_23121Lnet/minecraft/class_868;method_23121(Lnet/minecraft/class_11;FZZDDD)Vnamed drawPathInternalLnet/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 aLepi;a(Ldga;DDD)Vintermediary method_23117Lnet/minecraft/class_868;method_23117(Lnet/minecraft/class_11;DDD)Vnamed drawPathLinesLnet/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 aLepi;a(Lgb;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
-
-