public class ChunkPos
extends java.lang.Object
Constructor and Description |
---|
ChunkPos(BlockPos pos) |
ChunkPos(int x,
int z) |
ChunkPos(long longIn) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
asBlockPos() |
long |
asLong() |
static long |
asLong(int x,
int z) |
boolean |
equals(java.lang.Object p_equals_1_) |
static int |
func_212578_a(long p_212578_0_) |
static int |
func_212579_b(long p_212579_0_) |
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 ChunkPos(long longIn)
public long asLong()
public static long asLong(int x, int z)
public static int func_212578_a(long p_212578_0_)
public static int func_212579_b(long p_212579_0_)
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
public BlockPos asBlockPos()