net.minecraft.world.level

public class ChunkPos

dih
net.minecraft.world.level.ChunkPos
net.minecraft.class_1923
net.minecraft.unmapped.C_ynrszrtu
net.minecraft.util.math.ChunkPos
net.minecraft.util.math.ChunkPos

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ChunkPos>
a
CODEC
field_54241
f_dhokcsxm
CODEC
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, ChunkPos>
b
STREAM_CODEC
field_54242
f_nyxebvig
PACKET_CODEC
PACKET_CODEC
private static final int
j
SAFETY_MARGIN
field_36299
f_qgnudgpr
field_36299
SAFETY_MARGIN
public static final long
c
INVALID_CHUNK_POS
field_17348
f_qibyxtej
MARKER
MARKER
private static final int
k
SAFETY_MARGIN_CHUNKS
field_54976
f_vdxymktd
field_54976
public static final int
d
MAX_COORDINATE_VALUE
field_54975
f_umhupgxd
MAX_COORDINATE
public static final ChunkPos
e
ZERO
field_35107
f_codnvwyx
ORIGIN
ORIGIN
private static final long
l
COORD_BITS
field_30953
f_rcnwbvtz
field_30953
COORD_BITS
private static final long
m
COORD_MASK
field_30954
f_acuruuyv
field_30954
COORD_MASK
private static final int
n
REGION_BITS
field_30955
f_inefcnne
field_30955
REGION_BITS
public static final int
f
REGION_SIZE
field_38224
f_qgelltgy
field_38224
REGION_SIZE
private static final int
o
REGION_MASK
field_30956
f_orufgweo
field_30956
REGION_MASK
public static final int
g
REGION_MAX_INDEX
field_38225
f_kiqmmrqn
field_38225
REGION_MAX_INDEX
public final int
h
x
field_9181
f_rjwwzeot
x
x
public final int
i
z
field_9180
f_osndkqwe
z
z
private static final int
p
HASH_A
field_30957
f_hgvljgke
field_30957
HASH_A
private static final int
q
HASH_C
field_30958
f_axacysqg
field_30958
HASH_C
private static final int
r
HASH_Z_XOR
field_30959
f_ubdvlncb
field_30959
HASH_Z_XOR

Constructor summary

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

Method summary

Modifier and TypeMethod
public static ChunkPos
a(int arg0, int arg1)
minFromRegion(int arg0, int arg1)
method_42305(int arg0, int arg1)
m_jsmkiucr(int arg0, int arg1)
fromRegion(int x, int z)
minOfRegion(int regionX, int regionZ)
public static ChunkPos
b(int arg0, int arg1)
maxFromRegion(int arg0, int arg1)
method_42306(int arg0, int arg1)
m_qcedmndj(int arg0, int arg1)
fromRegionCenter(int x, int z)
maxOfRegion(int regionX, int regionZ)
public long
a()
toLong()
method_8324()
m_vqshgvus()
toLong()
toLong()
public static long
c(int arg0, int arg1)
asLong(int arg0, int arg1)
method_8331(int arg0, int arg1)
m_zjijztds(int arg0, int arg1)
toLong(int chunkX, int chunkZ)
toLong(int chunkX, int chunkZ)
public static long
a(iu arg0)
asLong(BlockPos arg0)
method_37232(class_2338 arg0)
m_xspezjla(C_hynzadkk arg0)
toLong(BlockPos pos)
toLong(BlockPos pos)
public static int
a(long arg0)
getX(long arg0)
method_8325(long arg0)
m_zbgukbxm(long arg0)
getPackedX(long pos)
getPackedX(long pos)
public static int
b(long arg0)
getZ(long arg0)
method_8332(long arg0)
m_mypltpaf(long arg0)
getPackedZ(long pos)
getPackedZ(long pos)
public static int
d(int arg0, int arg1)
hash(int arg0, int arg1)
method_42307(int arg0, int arg1)
m_qzugcpxj(int arg0, int arg1)
hashCode(int x, int z)
hash(int x, int z)
public int
b()
getMiddleBlockX()
method_33940()
m_hlmdsicr()
getCenterX()
getCenterX()
public int
c()
getMiddleBlockZ()
method_33942()
m_pbdcnqil()
getCenterZ()
getCenterZ()
public int
d()
getMinBlockX()
method_8326()
m_uvhyzzhn()
getStartX()
getStartX()
public int
e()
getMinBlockZ()
method_8328()
m_wpegztxm()
getStartZ()
getStartZ()
public int
f()
getMaxBlockX()
method_8327()
m_udmhpksu()
getEndX()
getEndX()
public int
g()
getMaxBlockZ()
method_8329()
m_hxylrpss()
getEndZ()
getEndZ()
public int
h()
getRegionX()
method_17885()
m_rxmyaudy()
getRegionX()
getRegionX()
public int
i()
getRegionZ()
method_17886()
m_ssvrfwdi()
getRegionZ()
getRegionZ()
public int
j()
getRegionLocalX()
method_17887()
m_yfstiuge()
getRegionRelativeX()
getRegionRelativeX()
public int
k()
getRegionLocalZ()
method_17888()
m_dlgmlays()
getRegionRelativeZ()
getRegionRelativeZ()
public BlockPos
a(int arg0, int arg1, int arg2)
getBlockAt(int arg0, int arg1, int arg2)
method_35231(int arg0, int arg1, int arg2)
m_zwiupzob(int arg0, int arg1, int arg2)
getBlockPos(int offsetX, int y, int offsetZ)
getBlockPos(int offsetX, int y, int offsetZ)
public int
a(int arg0)
getBlockX(int arg0)
method_33939(int arg0)
m_syhcaufv(int arg0)
getOffsetX(int offset)
getOffsetX(int offset)
public int
b(int arg0)
getBlockZ(int arg0)
method_33941(int arg0)
m_dfjbflnn(int arg0)
getOffsetZ(int offset)
getOffsetZ(int offset)
public BlockPos
c(int arg0)
getMiddleBlockPosition(int arg0)
method_33943(int arg0)
m_gzkepsnf(int arg0)
getCenterAtY(int y)
getCenterAtY(int y)
public BlockPos
l()
getWorldPosition()
method_8323()
m_evisbhxf()
getStartPos()
getStartPos()
public int
a(dih arg0)
getChessboardDistance(ChunkPos arg0)
method_24022(class_1923 arg0)
m_odhmogtb(C_ynrszrtu arg0)
getChebyshevDistance(ChunkPos pos)
public int
e(int arg0, int arg1)
getChessboardDistance(int arg0, int arg1)
method_60510(int arg0, int arg1)
m_pvgiqfnp(int arg0, int arg1)
getChebyshevDistance(int x, int z)
public int
b(dih arg0)
distanceSquared(ChunkPos arg0)
method_52566(class_1923 arg0)
m_zwtzmthx(C_ynrszrtu arg0)
getSquaredDistance(ChunkPos pos)
getSquaredDistance(ChunkPos pos)
public int
c(long arg0)
distanceSquared(long arg0)
method_52567(long arg0)
m_taquzerr(long arg0)
getSquaredDistance(long pos)
getSquaredDistance(long pos)
private int
f(int arg0, int arg1)
distanceSquared(int arg0, int arg1)
method_52568(int arg0, int arg1)
m_xjtsrtks(int arg0, int arg1)
getSquaredDistance(int x, int z)
getSquaredDistance(int x, int z)
public static Stream<ChunkPos>
a(dih arg0, int arg1)
rangeClosed(ChunkPos arg0, int arg1)
method_19280(class_1923 arg0, int arg1)
m_eiyefkze(C_ynrszrtu arg0, int arg1)
stream(ChunkPos center, int radius)
stream(ChunkPos center, int radius)
public static Stream<ChunkPos>
a(dih arg0, dih arg1)
rangeClosed(ChunkPos arg0, ChunkPos arg1)
method_19281(class_1923 arg0, class_1923 arg1)
m_bzevzush(C_ynrszrtu arg0, C_ynrszrtu arg1)
stream(ChunkPos pos1, ChunkPos pos2)
stream(ChunkPos pos1, ChunkPos pos2)