net.minecraft.world.level

public class ChunkPos

bvu
net.minecraft.world.level.ChunkPos
net.minecraft.class_1923
net.minecraft.util.math.ChunkPos
net.minecraft.src.C_1560_
net.minecraft.world.level.ChunkCoordIntPair

Field summary

Modifier and TypeField
public static final long
a
INVALID_CHUNK_POS
field_17348
MARKER
f_45577_
private static final long
d
COORD_BITS
field_30953
field_30953
f_151375_
private static final long
e
COORD_MASK
field_30954
field_30954
f_151376_
private static final int
f
REGION_BITS
field_30955
field_30955
f_151377_
private static final int
g
REGION_MASK
field_30956
field_30956
f_151378_
public final int
b
x
field_9181
x
f_45578_
public final int
c
z
field_9180
z
f_45579_
private static final int
h
HASH_A
field_30957
field_30957
f_151379_
private static final int
i
HASH_C
field_30958
field_30958
f_151380_
private static final int
j
HASH_Z_XOR
field_30959
field_30959
f_151381_

Constructor summary

ModifierConstructor
public (int x, int z)
public (BlockPos pos)
public (long pos)

Method summary

Modifier and TypeMethod
public long
a()
toLong()
method_8324()
toLong()
m_45588_()
pair()
public static long
a(int arg0, int arg1)
asLong(int arg0, int arg1)
method_8331(int arg0, int arg1)
toLong(int chunkX, int chunkZ)
m_45589_(int p_45590_, int p_45591_)
pair(int arg0, int arg1)
public static long
a(gg arg0)
asLong(BlockPos arg0)
method_37232(class_2338 arg0)
method_37232(BlockPos arg0)
m_151388_(C_4675_ p_151389_)
public static int
a(long arg0)
getX(long arg0)
method_8325(long arg0)
getPackedX(long pos)
m_45592_(long p_45593_)
getX(long arg0)
public static int
b(long arg0)
getZ(long arg0)
method_8332(long arg0)
getPackedZ(long pos)
m_45602_(long p_45603_)
getZ(long arg0)
public int
b()
getMiddleBlockX()
method_33940()
getCenterX()
m_151390_()
public int
c()
getMiddleBlockZ()
method_33942()
getCenterZ()
m_151393_()
public int
d()
getMinBlockX()
method_8326()
getStartX()
m_45604_()
public int
e()
getMinBlockZ()
method_8328()
getStartZ()
m_45605_()
public int
f()
getMaxBlockX()
method_8327()
getEndX()
m_45608_()
public int
g()
getMaxBlockZ()
method_8329()
getEndZ()
m_45609_()
public int
h()
getRegionX()
method_17885()
getRegionX()
m_45610_()
getRegionX()
public int
i()
getRegionZ()
method_17886()
getRegionZ()
m_45612_()
getRegionZ()
public int
j()
getRegionLocalX()
method_17887()
getRegionRelativeX()
m_45613_()
public int
k()
getRegionLocalZ()
method_17888()
getRegionRelativeZ()
m_45614_()
public BlockPos
a(int arg0, int arg1, int arg2)
getBlockAt(int arg0, int arg1, int arg2)
method_35231(int arg0, int arg1, int arg2)
getBlockPos(int offsetX, int y, int offsetZ)
m_151384_(int p_151386_, int p_151387_, int arg2)
public int
a(int arg0)
getBlockX(int arg0)
method_33939(int arg0)
getOffsetX(int offset)
m_151382_(int arg0)
public int
b(int arg0)
getBlockZ(int arg0)
method_33941(int arg0)
getOffsetZ(int offset)
m_151391_(int arg0)
public BlockPos
c(int arg0)
getMiddleBlockPosition(int arg0)
method_33943(int arg0)
getCenterAtY(int y)
m_151394_(int arg0)
public BlockPos
l()
getWorldPosition()
method_8323()
getStartPos()
m_45615_()
public int
a(bvu arg0)
getChessboardDistance(ChunkPos arg0)
method_24022(class_1923 arg0)
getChebyshevDistance(ChunkPos pos)
m_45594_(C_1560_ arg0)
public static Stream<ChunkPos>
a(bvu arg0, int arg1)
rangeClosed(ChunkPos arg0, int arg1)
method_19280(class_1923 arg0, int arg1)
stream(ChunkPos center, int radius)
m_45596_(C_1560_ p_45597_, int p_45598_)
public static Stream<ChunkPos>
a(bvu arg0, bvu arg1)
rangeClosed(ChunkPos arg0, ChunkPos arg1)
method_19281(class_1923 arg0, class_1923 arg1)
stream(ChunkPos pos1, ChunkPos pos2)
m_45599_(C_1560_ p_45600_, C_1560_ p_45601_)