Package | Description |
---|---|
net.minecraft.pathfinding |
Modifier and Type | Method and Description |
---|---|
PathPoint |
Path.addPoint(PathPoint par1PathPoint)
Adds a point to the path
|
PathPoint |
Path.dequeue()
Returns and removes the first point in the path
|
PathPoint |
PathEntity.getFinalPathPoint()
returns the last PathPoint of the Array
|
PathPoint |
PathEntity.getPathPointFromIndex(int par1)
return the PathPoint located at the specified PathIndex, usually the current one
|
Modifier and Type | Method and Description |
---|---|
PathPoint |
Path.addPoint(PathPoint par1PathPoint)
Adds a point to the path
|
void |
Path.changeDistance(PathPoint par1PathPoint,
float par2)
Changes the provided point's distance to target
|
float |
PathPoint.distanceTo(PathPoint par1PathPoint)
Returns the linear distance to another path point
|
float |
PathPoint.func_75832_b(PathPoint par1PathPoint) |
static int |
PathFinder.func_82565_a(Entity par0Entity,
int par1,
int par2,
int par3,
PathPoint par4PathPoint,
boolean par5,
boolean par6,
boolean par7) |
int |
PathFinder.getVerticalOffset(Entity par1Entity,
int par2,
int par3,
int par4,
PathPoint par5PathPoint)
Checks if an entity collides with blocks at a position.
|
Constructor and Description |
---|
PathEntity(PathPoint[] par1ArrayOfPathPoint) |