public class ChunkCoordIntPair
extends java.lang.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(java.lang.Object par1Obj) |
int |
getCenterXPos() |
int |
getCenterZPosition() |
ChunkPosition |
getChunkPosition(int par1) |
int |
hashCode() |
java.lang.String |
toString() |
public final int chunkXPos
public final int chunkZPos
public static long chunkXZ2Int(int par0, int par1)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object par1Obj)
equals
in class java.lang.Object
public int getCenterXPos()
public int getCenterZPosition()
public ChunkPosition getChunkPosition(int par1)
public java.lang.String toString()
toString
in class java.lang.Object