net.minecraft.src
Class ChunkCoordinates
java.lang.Object
  
net.minecraft.src.ChunkCoordinates
- All Implemented Interfaces: 
 - Comparable
 
public class ChunkCoordinates
- extends Object
- implements Comparable
  
| 
Field Summary | 
 int | 
posX
 
            | 
 int | 
posY
 
          the y coordinate | 
 int | 
posZ
 
          the z coordinate | 
 
 
 
 
posX
public int posX
posY
public int posY
- the y coordinate
 
posZ
public int posZ
- the z coordinate
 
ChunkCoordinates
public ChunkCoordinates()
ChunkCoordinates
public ChunkCoordinates(int par1,
                        int par2,
                        int par3)
ChunkCoordinates
public ChunkCoordinates(ChunkCoordinates par1ChunkCoordinates)
equals
public boolean equals(Object par1Obj)
- Overrides:
 equals in class Object
 
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class Object
 
 
compareChunkCoordinate
public int compareChunkCoordinate(ChunkCoordinates par1ChunkCoordinates)
- Compare the coordinate with another coordinate
 
 
 
set
public void set(int par1,
                int par2,
                int par3)
 
 
getDistanceSquared
public float getDistanceSquared(int par1,
                                int par2,
                                int par3)
- Returns the squared distance between this coordinates and the coordinates given as argument.
 
 
 
compareTo
public int compareTo(Object par1Obj)
- Specified by:
 compareTo in interface Comparable