public class ChunkCoordIntPair
extends java.lang.Object
Constructor and Description |
---|
ChunkCoordIntPair(int x,
int z) |
Modifier and Type | Method and Description |
---|---|
static long |
chunkXZ2Int(int x,
int z) |
boolean |
equals(java.lang.Object p_equals_1_) |
BlockPos |
getBlock(int x,
int y,
int z) |
BlockPos |
getCenterBlock(int y) |
int |
getCenterXPos() |
int |
getCenterZPosition() |
int |
getXEnd() |
int |
getXStart() |
int |
getZEnd() |
int |
getZStart() |
int |
hashCode() |
java.lang.String |
toString() |
public static long chunkXZ2Int(int x, int z)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int getCenterXPos()
public int getCenterZPosition()
public int getXStart()
public int getZStart()
public int getXEnd()
public int getZEnd()
public BlockPos getBlock(int x, int y, int z)
public BlockPos getCenterBlock(int y)
public java.lang.String toString()
toString
in class java.lang.Object