YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.pathfinding.PathFinder Class Reference

Public Member Functions

 PathFinder (IBlockAccess par1IBlockAccess, boolean par2, boolean par3, boolean par4, boolean par5)
 
PathEntity createEntityPathTo (Entity par1Entity, Entity par2Entity, float par3)
 
PathEntity createEntityPathTo (Entity par1Entity, int par2, int par3, int par4, float par5)
 
int getVerticalOffset (Entity par1Entity, int par2, int par3, int par4, PathPoint par5PathPoint)
 

Static Public Member Functions

static int func_82565_a (Entity par0Entity, int par1, int par2, int par3, PathPoint par4PathPoint, boolean par5, boolean par6, boolean par7)
 

Constructor & Destructor Documentation

net.minecraft.pathfinding.PathFinder.PathFinder ( IBlockAccess  par1IBlockAccess,
boolean  par2,
boolean  par3,
boolean  par4,
boolean  par5 
)

Member Function Documentation

PathEntity net.minecraft.pathfinding.PathFinder.createEntityPathTo ( Entity  par1Entity,
Entity  par2Entity,
float  par3 
)

Creates a path from one entity to another within a minimum distance

PathEntity net.minecraft.pathfinding.PathFinder.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 net.minecraft.pathfinding.PathFinder.func_82565_a ( Entity  par0Entity,
int  par1,
int  par2,
int  par3,
PathPoint  par4PathPoint,
boolean  par5,
boolean  par6,
boolean  par7 
)
static
int net.minecraft.pathfinding.PathFinder.getVerticalOffset ( Entity  par1Entity,
int  par2,
int  par3,
int  par4,
PathPoint  par5PathPoint 
)

Checks if an entity collides with blocks at a position. Returns 1 if clear, 0 for colliding with any solid block, -1 for water(if avoiding water) but otherwise clear, -2 for lava, -3 for fence, -4 for closed trapdoor, 2 if otherwise clear except for open trapdoor or water(if not avoiding)


The documentation for this class was generated from the following file: