public class DebugRendererPathfinding extends java.lang.Object implements DebugRenderer.IDebugRenderer
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,java.lang.Long> |
creationMap |
private Minecraft |
minecraft |
private java.util.Map<java.lang.Integer,Path> |
pathMap |
private java.util.Map<java.lang.Integer,java.lang.Float> |
pathMaxDistance |
private EntityPlayer |
player |
private double |
xo |
private double |
yo |
private double |
zo |
Constructor and Description |
---|
DebugRendererPathfinding(Minecraft minecraftIn) |
Modifier and Type | Method and Description |
---|---|
private float |
addDistanceToPlayer(PathPoint point) |
void |
addPath(int eid,
Path pathIn,
float distance) |
void |
render(float partialTicks,
long finishTimeNano) |
void |
renderPathLine(float finishTimeNano,
Path pathIn) |
private final Minecraft minecraft
private final java.util.Map<java.lang.Integer,Path> pathMap
private final java.util.Map<java.lang.Integer,java.lang.Float> pathMaxDistance
private final java.util.Map<java.lang.Integer,java.lang.Long> creationMap
private EntityPlayer player
private double xo
private double yo
private double zo
public DebugRendererPathfinding(Minecraft minecraftIn)
public void addPath(int eid, Path pathIn, float distance)
public void render(float partialTicks, long finishTimeNano)
render
in interface DebugRenderer.IDebugRenderer
public void renderPathLine(float finishTimeNano, Path pathIn)
private float addDistanceToPlayer(PathPoint point)