public class ChunkPos
extends java.lang.Object
Constructor and Description |
---|
ChunkPos(BlockPos pos) |
ChunkPos(int x,
int z) |
Modifier and Type | Method and Description |
---|---|
static long |
asLong(int x,
int z) |
boolean |
equals(java.lang.Object p_equals_1_) |
BlockPos |
getBlock(int x,
int y,
int z) |
double |
getDistanceSq(Entity entityIn) |
int |
getXEnd() |
int |
getXStart() |
int |
getZEnd() |
int |
getZStart() |
int |
hashCode() |
java.lang.String |
toString() |
public ChunkPos(int x, int z)
public ChunkPos(BlockPos pos)
public static long asLong(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 double getDistanceSq(Entity entityIn)
public int getXStart()
public int getZStart()
public int getXEnd()
public int getZEnd()
public BlockPos getBlock(int x, int y, int z)
public java.lang.String toString()
toString
in class java.lang.Object