|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.util.ChunkCoordinates
public class ChunkCoordinates
Field Summary | |
---|---|
int |
posX
|
int |
posY
the y coordinate |
int |
posZ
the z coordinate |
Constructor Summary | |
---|---|
ChunkCoordinates()
|
|
ChunkCoordinates(ChunkCoordinates par1ChunkCoordinates)
|
|
ChunkCoordinates(int par1,
int par2,
int par3)
|
Method Summary | |
---|---|
int |
compareChunkCoordinate(ChunkCoordinates par1ChunkCoordinates)
Compare the coordinate with another coordinate |
int |
compareTo(Object par1Obj)
|
boolean |
equals(Object par1Obj)
|
float |
getDistanceSquared(int par1,
int par2,
int par3)
Returns the squared distance between this coordinates and the coordinates given as argument. |
float |
getDistanceSquaredToChunkCoordinates(ChunkCoordinates par1ChunkCoordinates)
Return the squared distance between this coordinates and the ChunkCoordinates given as argument. |
int |
hashCode()
|
void |
set(int par1,
int par2,
int par3)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int posX
public int posY
public int posZ
Constructor Detail |
---|
public ChunkCoordinates()
public ChunkCoordinates(int par1, int par2, int par3)
public ChunkCoordinates(ChunkCoordinates par1ChunkCoordinates)
Method Detail |
---|
public boolean equals(Object par1Obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareChunkCoordinate(ChunkCoordinates par1ChunkCoordinates)
public void set(int par1, int par2, int par3)
public float getDistanceSquared(int par1, int par2, int par3)
public float getDistanceSquaredToChunkCoordinates(ChunkCoordinates par1ChunkCoordinates)
public int compareTo(Object par1Obj)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |