public class PathFinding extends java.lang.Object implements IIterableAlgorithm
| Modifier and Type | Field and Description |
|---|---|
static int |
PATH_ITERATIONS |
| Constructor and Description |
|---|
PathFinding(net.minecraft.world.World iWorld,
BlockIndex iStart,
BlockIndex iEnd) |
PathFinding(net.minecraft.world.World iWorld,
BlockIndex iStart,
BlockIndex iEnd,
double iMaxDistanceToEnd) |
PathFinding(net.minecraft.world.World iWorld,
BlockIndex iStart,
BlockIndex iEnd,
double iMaxDistanceToEnd,
float iMaxTotalDistance) |
| Modifier and Type | Method and Description |
|---|---|
BlockIndex |
end() |
java.util.LinkedList<BlockIndex> |
getResult() |
boolean |
isDone() |
void |
iterate() |
void |
iterate(int itNumber) |
public PathFinding(net.minecraft.world.World iWorld,
BlockIndex iStart,
BlockIndex iEnd)
public PathFinding(net.minecraft.world.World iWorld,
BlockIndex iStart,
BlockIndex iEnd,
double iMaxDistanceToEnd)
public PathFinding(net.minecraft.world.World iWorld,
BlockIndex iStart,
BlockIndex iEnd,
double iMaxDistanceToEnd,
float iMaxTotalDistance)
public void iterate()
iterate in interface IIterableAlgorithmpublic void iterate(int itNumber)
public boolean isDone()
isDone in interface IIterableAlgorithmpublic java.util.LinkedList<BlockIndex> getResult()
public BlockIndex end()