Package net.minecraft.src
Class PathPoint
java.lang.Object
net.minecraft.src.PathPoint
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatdistanceTo(PathPoint par1PathPoint) Returns the linear distance to another path pointbooleanfloatfunc_75832_b(PathPoint par1PathPoint) inthashCode()booleanReturns true if this point has already been assigned to a pathstatic intmakeHash(int par0, int par1, int par2) toString()
-
Field Details
-
xCoord
public final int xCoordThe x coordinate of this point -
yCoord
public final int yCoordThe y coordinate of this point -
zCoord
public final int zCoordThe z coordinate of this point -
isFirst
public boolean isFirstIndicates this is the origin
-
-
Constructor Details
-
PathPoint
public PathPoint(int par1, int par2, int par3)
-
-
Method Details
-
makeHash
public static int makeHash(int par0, int par1, int par2) -
distanceTo
Returns the linear distance to another path point -
func_75832_b
-
equals
-
hashCode
public int hashCode() -
isAssigned
public boolean isAssigned()Returns true if this point has already been assigned to a path -
toString
-