public class ChunkCoordIntPair extends Object
Modifier and Type | Field and Description |
---|---|
int |
chunkXPos
The X position of this Chunk Coordinate Pair
|
int |
chunkZPos
The Z position of this Chunk Coordinate Pair
|
Constructor and Description |
---|
ChunkCoordIntPair(int par1,
int par2) |
Modifier and Type | Method and Description |
---|---|
static long |
chunkXZ2Int(int par0,
int par1)
converts a chunk coordinate pair to an integer (suitable for hashing)
|
boolean |
equals(Object par1Obj) |
int |
getCenterXPos() |
int |
getCenterZPosition() |
ChunkPosition |
getChunkPosition(int par1) |
int |
hashCode() |
String |
toString() |
public final int chunkXPos
public final int chunkZPos
public static long chunkXZ2Int(int par0, int par1)
public int getCenterXPos()
public int getCenterZPosition()
public ChunkPosition getChunkPosition(int par1)