public class PathFindingSearch extends java.lang.Object implements IIterableAlgorithm
| Modifier and Type | Field and Description |
|---|---|
static int |
PATH_ITERATIONS |
| Constructor and Description |
|---|
PathFindingSearch(net.minecraft.world.World iWorld,
BlockIndex iStart,
java.util.Iterator<BlockIndex> iBlockIter,
IBlockFilter iPathFound,
double iMaxDistanceToEnd,
float iMaxDistance,
IZone iZone) |
| Modifier and Type | Method and Description |
|---|---|
java.util.LinkedList<BlockIndex> |
getResult() |
boolean |
isDone() |
void |
iterate() |
void |
iteratePathFind(int itNumber) |
void |
unreserve(BlockIndex block) |
public PathFindingSearch(net.minecraft.world.World iWorld,
BlockIndex iStart,
java.util.Iterator<BlockIndex> iBlockIter,
IBlockFilter iPathFound,
double iMaxDistanceToEnd,
float iMaxDistance,
IZone iZone)
public void iterate()
iterate in interface IIterableAlgorithmpublic void iteratePathFind(int itNumber)
public boolean isDone()
isDone in interface IIterableAlgorithmpublic java.util.LinkedList<BlockIndex> getResult()
public void unreserve(BlockIndex block)