public class PathFinder extends Object
Constructor and Description |
---|
PathFinder(IBlockAccess par1IBlockAccess,
boolean par2,
boolean par3,
boolean par4,
boolean par5) |
Modifier and Type | Method and Description |
---|---|
PathEntity |
createEntityPathTo(Entity par1Entity,
Entity par2Entity,
float par3)
Creates a path from one entity to another within a minimum distance
|
PathEntity |
createEntityPathTo(Entity par1Entity,
int par2,
int par3,
int par4,
float par5)
Creates a path from an entity to a specified location within a minimum distance
|
static int |
func_82565_a(Entity par0Entity,
int par1,
int par2,
int par3,
PathPoint par4PathPoint,
boolean par5,
boolean par6,
boolean par7) |
int |
getVerticalOffset(Entity par1Entity,
int par2,
int par3,
int par4,
PathPoint par5PathPoint)
Checks if an entity collides with blocks at a position.
|
public PathFinder(IBlockAccess par1IBlockAccess, boolean par2, boolean par3, boolean par4, boolean par5)
public PathEntity createEntityPathTo(Entity par1Entity, Entity par2Entity, float par3)
public PathEntity createEntityPathTo(Entity par1Entity, int par2, int par3, int par4, float par5)
public int getVerticalOffset(Entity par1Entity, int par2, int par3, int par4, PathPoint par5PathPoint)