net.minecraft.core

public class SectionPos

extends Vec3i

hq
net.minecraft.core.SectionPos
net.minecraft.class_4076
net.minecraft.unmapped.C_zubvmeye
net.minecraft.util.math.ChunkSectionPos
net.minecraft.util.math.ChunkSectionPos
net.minecraft.src.C_4710_
net.minecraft.core.SectionPosition

Field summary

Modifier and TypeField
public static final int
a
SECTION_BITS
field_33096
f_lawbwqyo
field_33096
SECTION_BITS
f_175535_
public static final int
b
SECTION_SIZE
field_33097
f_ykeryhkq
field_33097
SECTION_SIZE
f_175536_
public static final int
c
SECTION_MASK
field_33100
f_fwsnubvp
field_33100
SECTION_MASK
f_175539_
public static final int
d
SECTION_HALF_SIZE
field_33098
f_gpddrzic
field_33098
HALF_SECTION_SIZE
f_175537_
public static final int
e
SECTION_MAX_INDEX
field_33099
f_cqgtokpq
field_33099
MAX_SECTION_INDEX
f_175538_
private static final int
h
PACKED_X_LENGTH
field_33101
f_zopreimk
field_33101
PACKED_X_LENGTH
f_175540_
private static final int
i
PACKED_Y_LENGTH
field_33102
f_jebajewa
field_33102
PACKED_Y_LENGTH
f_175541_
private static final int
j
PACKED_Z_LENGTH
field_33103
f_tveaiutl
field_33103
PACKED_Z_LENGTH
f_175542_
private static final long
k
PACKED_X_MASK
field_33104
f_rcpkxjlw
field_33104
PACKED_X_MASK
f_175543_
private static final long
l
PACKED_Y_MASK
field_33105
f_fzqcsxyo
field_33105
PACKED_Y_MASK
f_175544_
private static final long
m
PACKED_Z_MASK
field_33106
f_gfwenlbk
field_33106
PACKED_Z_MASK
f_175545_
private static final int
n
Y_OFFSET
field_33107
f_thivmymk
field_33107
Y_OFFSET
f_175546_
private static final int
o
Z_OFFSET
field_33108
f_lftpupvs
field_33108
Z_OFFSET
f_175547_
private static final int
p
X_OFFSET
field_33109
f_eoyrzvyc
field_33109
X_OFFSET
f_175548_
private static final int
q
RELATIVE_X_SHIFT
field_33110
f_uaekbwbg
field_33110
RELATIVE_X_SHIFT
f_175549_
private static final int
r
RELATIVE_Y_SHIFT
field_33111
f_bjsdpwew
field_33111
RELATIVE_Y_SHIFT
f_175550_
private static final int
s
RELATIVE_Z_SHIFT
field_33112
f_mfbblaef
field_33112
RELATIVE_Z_SHIFT
f_175551_

Constructor summary

ModifierConstructor
(int p_123163_, int p_123164_, int arg2)

Method summary

Modifier and TypeMethod
public static SectionPos
a(int arg0, int arg1, int arg2)
of(int arg0, int arg1, int arg2)
method_18676(int arg0, int arg1, int arg2)
m_irqhfoeu(int arg0, int arg1, int arg2)
from(int x, int y, int z)
from(int x, int y, int z)
m_123173_(int p_123174_, int p_123175_, int p_123176_)
public static SectionPos
a(gt arg0)
of(BlockPos arg0)
method_18682(class_2338 arg0)
m_bvrjhtfd(C_hynzadkk arg0)
from(BlockPos pos)
from(BlockPos pos)
m_123199_(C_4675_ p_123200_)
public static SectionPos
a(cge arg0, int arg1)
of(ChunkPos arg0, int arg1)
method_18681(class_1923 arg0, int arg1)
m_behpcyaa(C_ynrszrtu arg0, int arg1)
from(ChunkPos chunkPos, int y)
from(ChunkPos chunkPos, int y)
m_123196_(C_1560_ p_123197_, int p_123198_)
public static SectionPos
a(czc arg0)
of(EntityAccess arg0)
method_42614(class_5568 arg0)
m_evmyvguv(C_sncvekqg arg0)
from(EntityLike entity)
from(EntityLike entity)
m_235861_(C_141279_ p_235862_)
public static SectionPos
a(hj arg0)
of(Position arg0)
method_18680(class_2374 arg0)
m_ramiwwjc(C_ogbhoqwb arg0)
from(Position pos)
from(Position pos)
m_235863_(C_4703_ p_235864_)
public static SectionPos
a(long arg0)
of(long arg0)
method_18677(long arg0)
m_qsobicuc(long arg0)
from(long packed)
from(long packed)
m_123184_(long p_123185_)
public static SectionPos
a(cxj arg0)
bottomOf(ChunkAccess arg0)
method_33705(class_2791 arg0)
m_siqmctjw(C_lwzmmmqr arg0)
from(Chunk chunk)
from(Chunk chunk)
m_175562_(C_2116_ p_175563_)
public static long
a(long arg0, gy arg1)
offset(long arg0, Direction arg1)
method_18679(long arg0, class_2350 arg1)
m_dulodxeu(long arg0, C_xpuuihxf arg1)
offset(long packed, Direction direction)
offset(long packed, Direction direction)
m_123191_(long p_123192_, C_4687_ arg1)
public static long
a(long arg0, int arg1, int arg2, int arg3)
offset(long arg0, int arg1, int arg2, int arg3)
method_18678(long arg0, int arg1, int arg2, int arg3)
m_icvqgcye(long arg0, int arg1, int arg2, int arg3)
offset(long packed, int x, int y, int z)
offset(long packed, int x, int y, int z)
m_123186_(long p_123187_, int p_123189_, int p_123190_, int arg3)
public static int
a(double arg0)
posToSectionCoord(double arg0)
method_32204(double arg0)
m_eqoatwik(double arg0)
getSectionCoord(double coord)
getSectionCoord(double coord)
m_175552_(double p_175553_)
public static int
a(int arg0)
blockToSectionCoord(int arg0)
method_18675(int arg0)
m_hodqxlhm(int arg0)
getSectionCoord(int coord)
getSectionCoord(int coord)
m_123171_(int p_123172_)
public static int
b(double arg0)
blockToSectionCoord(double arg0)
method_42615(double arg0)
m_atwoyxdz(double arg0)
getSectionCoordFloored(double coord)
getBlockSectionCoord(double coord)
m_235865_(double p_235866_)
public static int
b(int arg0)
sectionRelative(int arg0)
method_18684(int arg0)
m_dwsplknj(int arg0)
getLocalCoord(int coord)
getLocalCoord(int coord)
m_123207_(int p_123208_)
public static short
b(gt arg0)
sectionRelativePos(BlockPos arg0)
method_19454(class_2338 arg0)
m_gkgduges(C_hynzadkk arg0)
packLocal(BlockPos pos)
packLocal(BlockPos pos)
m_123218_(C_4675_ p_123219_)
public static int
a(short arg0)
sectionRelativeX(short arg0)
method_30551(short arg0)
m_zfnqdfeh(short arg0)
unpackLocalX(short packedLocalPos)
unpackLocalX(short packedLocalPos)
m_123204_(short p_123205_)
public static int
b(short arg0)
sectionRelativeY(short arg0)
method_30552(short arg0)
m_fffengfv(short arg0)
unpackLocalY(short packedLocalPos)
unpackLocalY(short packedLocalPos)
m_123220_(short p_123221_)
public static int
c(short arg0)
sectionRelativeZ(short arg0)
method_30553(short arg0)
m_otinxjnk(short arg0)
unpackLocalZ(short packedLocalPos)
unpackLocalZ(short packedLocalPos)
m_123227_(short p_123228_)
public int
d(short arg0)
relativeToBlockX(short arg0)
method_30554(short arg0)
m_vifvzsdw(short arg0)
unpackBlockX(short packedLocalPos)
unpackBlockX(short packedLocalPos)
m_123232_(short arg0)
public int
e(short arg0)
relativeToBlockY(short arg0)
method_30555(short arg0)
m_zfizougv(short arg0)
unpackBlockY(short packedLocalPos)
unpackBlockY(short packedLocalPos)
m_123237_(short arg0)
public int
f(short arg0)
relativeToBlockZ(short arg0)
method_30556(short arg0)
m_ebvqpdpc(short arg0)
unpackBlockZ(short packedLocalPos)
unpackBlockZ(short packedLocalPos)
m_123242_(short arg0)
public BlockPos
g(short arg0)
relativeToBlockPos(short arg0)
method_30557(short arg0)
m_vagbjmsr(short arg0)
unpackBlockPos(short packedLocalPos)
unpackBlockPos(short packedLocalPos)
m_123245_(short arg0)
public static int
c(int arg0)
sectionToBlockCoord(int arg0)
method_18688(int arg0)
m_kysdlczn(int arg0)
getBlockCoord(int sectionCoord)
getBlockCoord(int sectionCoord)
m_123223_(int p_123224_)
public static int
a(int arg0, int arg1)
sectionToBlockCoord(int arg0, int arg1)
method_32205(int arg0, int arg1)
m_goadvspx(int arg0, int arg1)
getOffsetPos(int chunkCoord, int offset)
getOffsetPos(int chunkCoord, int offset)
m_175554_(int p_175555_, int p_175556_)
public static int
b(long arg0)
x(long arg0)
method_18686(long arg0)
m_ebqmbyav(long arg0)
unpackX(long packed)
unpackX(long packed)
m_123213_(long p_123214_)
public static int
c(long arg0)
y(long arg0)
method_18689(long arg0)
m_rfzysagn(long arg0)
unpackY(long packed)
unpackY(long packed)
m_123225_(long p_123226_)
public static int
d(long arg0)
z(long arg0)
method_18690(long arg0)
m_ldijzjyn(long arg0)
unpackZ(long packed)
unpackZ(long packed)
m_123230_(long p_123231_)
public int
a()
x()
method_18674()
m_rwwwsxea()
getSectionX()
getSectionX()
m_123170_()
public int
b()
y()
method_18683()
m_rpfkvmlb()
getSectionY()
getSectionY()
m_123206_()
public int
c()
z()
method_18687()
m_ayjgiuwf()
getSectionZ()
getSectionZ()
m_123222_()
public int
d()
minBlockX()
method_19527()
m_dcvjhedo()
getMinX()
getMinX()
m_123229_()
public int
e()
minBlockY()
method_19528()
m_wgttobnw()
getMinY()
getMinY()
m_123234_()
public int
f()
minBlockZ()
method_19529()
m_rxdrdvpy()
getMinZ()
getMinZ()
m_123239_()
public int
g()
maxBlockX()
method_19530()
m_tzslcqlp()
getMaxX()
getMaxX()
m_123244_()
public int
h()
maxBlockY()
method_19531()
m_oihieqfn()
getMaxY()
getMaxY()
m_123247_()
public int
i()
maxBlockZ()
method_19532()
m_spictpub()
getMaxZ()
getMaxZ()
m_123248_()
public static long
e(long arg0)
blockToSection(long arg0)
method_18691(long arg0)
m_sfysjbuj(long arg0)
fromBlockPos(long blockPos)
fromBlockPos(long blockPos)
m_123235_(long p_123236_)
public static long
f(long arg0)
getZeroNode(long arg0)
method_18693(long arg0)
m_uowewcmv(long arg0)
withZeroY(long pos)
withZeroY(long pos)
m_123240_(long p_123241_)
public BlockPos
p()
origin()
method_19767()
m_epaqvcki()
getMinPos()
getMinPos()
m_123249_()
public BlockPos
q()
center()
method_19768()
m_xrajktfq()
getCenterPos()
getCenterPos()
m_123250_()
public ChunkPos
r()
chunk()
method_18692()
m_hsdtylou()
toChunkPos()
toChunkPos()
m_123251_()
public static long
c(gt arg0)
asLong(BlockPos arg0)
method_33706(class_2338 arg0)
m_pqrvhujc(C_hynzadkk arg0)
toLong(BlockPos pos)
toLong(BlockPos pos)
m_175568_(C_4675_ p_175569_)
public static long
b(int arg0, int arg1, int arg2)
asLong(int arg0, int arg1, int arg2)
method_18685(int arg0, int arg1, int arg2)
m_bjyuqoxc(int arg0, int arg1, int arg2)
asLong(int x, int y, int z)
asLong(int x, int y, int z)
m_123209_(int p_123210_, int p_123211_, int p_123212_)
public long
s()
asLong()
method_18694()
m_fayhmctf()
asLong()
asLong()
m_123252_()
public SectionPos
d(int arg0, int arg1, int arg2)
offset(int arg0, int arg1, int arg2)
method_34591(int arg0, int arg1, int arg2)
m_tvpwtrzy(int arg0, int arg1, int arg2)
add(int arg0, int arg1, int arg2)
add(int arg0, int arg1, int arg2)
m_7918_(int p_175572_, int p_175573_, int arg2)
public Stream<BlockPos>
t()
blocksInside()
method_19533()
m_nhjbcsit()
streamBlocks()
streamBlocks()
m_123253_()
public static Stream<SectionPos>
a(hq arg0, int arg1)
cube(SectionPos arg0, int arg1)
method_20439(class_4076 arg0, int arg1)
m_guwqxjof(C_zubvmeye arg0, int arg1)
stream(ChunkSectionPos center, int radius)
stream(ChunkSectionPos center, int radius)
m_123201_(C_4710_ p_123202_, int p_123203_)
public static Stream<SectionPos>
a(cge arg0, int arg1, int arg2, int arg3)
aroundChunk(ChunkPos arg0, int arg1, int arg2, int arg3)
method_22446(class_1923 arg0, int arg1, int arg2, int arg3)
m_lhhztwzk(C_ynrszrtu arg0, int arg1, int arg2, int arg3)
stream(ChunkPos center, int radius, int minY, int maxY)
stream(ChunkPos center, int radius, int minY, int maxY)
m_175557_(C_1560_ p_175558_, int p_175559_, int p_175560_, int p_175561_)
public static Stream<SectionPos>
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
betweenClosedStream(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_20438(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
m_uslkimdj(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
stream(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
stream(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
m_123177_(int p_123178_, int p_123179_, int p_123180_, int p_123181_, int p_123182_, int p_123183_)
public static void
a(gt arg0, it.unimi.dsi.fastutil.longs.LongConsumer arg1)
aroundAndAtBlockPos(BlockPos arg0, it.unimi.dsi.fastutil.longs.LongConsumer arg1)
method_39491(class_2338 arg0, it.unimi.dsi.fastutil.longs.LongConsumer arg1)
m_ndxvbslr(C_hynzadkk arg0, it.unimi.dsi.fastutil.longs.LongConsumer arg1)
forEachChunkSectionAround(BlockPos pos, it.unimi.dsi.fastutil.longs.LongConsumer consumer)
forEachSectionAround(BlockPos pos, it.unimi.dsi.fastutil.longs.LongConsumer consumer)
m_194642_(C_4675_ p_194643_, it.unimi.dsi.fastutil.longs.LongConsumer p_194644_)
public static void
a(long arg0, it.unimi.dsi.fastutil.longs.LongConsumer arg1)
aroundAndAtBlockPos(long arg0, it.unimi.dsi.fastutil.longs.LongConsumer arg1)
method_39490(long arg0, it.unimi.dsi.fastutil.longs.LongConsumer arg1)
m_jihwywxb(long arg0, it.unimi.dsi.fastutil.longs.LongConsumer arg1)
forEachChunkSectionAround(long pos, it.unimi.dsi.fastutil.longs.LongConsumer consumer)
forEachSectionAround(long blockPos, it.unimi.dsi.fastutil.longs.LongConsumer consumer)
m_194639_(long p_194640_, it.unimi.dsi.fastutil.longs.LongConsumer arg1)
public static void
a(int arg0, int arg1, int arg2, it.unimi.dsi.fastutil.longs.LongConsumer arg3)
aroundAndAtBlockPos(int arg0, int arg1, int arg2, it.unimi.dsi.fastutil.longs.LongConsumer arg3)
method_39489(int arg0, int arg1, int arg2, it.unimi.dsi.fastutil.longs.LongConsumer arg3)
m_xmrsyyyw(int arg0, int arg1, int arg2, it.unimi.dsi.fastutil.longs.LongConsumer arg3)
forEachChunkSectionAround(int x, int y, int z, it.unimi.dsi.fastutil.longs.LongConsumer consumer)
forEachSectionAround(int x, int y, int z, it.unimi.dsi.fastutil.longs.LongConsumer consumer)
m_194634_(int p_194635_, int p_194636_, int p_194637_, it.unimi.dsi.fastutil.longs.LongConsumer p_194638_)