net.minecraft.core

public class SectionPos

extends Vec3i

kk
net.minecraft.core.SectionPos
net.minecraft.class_4076
net.minecraft.util.math.ChunkSectionPos
net.minecraft.core.SectionPosition

Field summary

Modifier and TypeField
public static final int
a
SECTION_BITS
field_33096
field_33096
public static final int
b
SECTION_SIZE
field_33097
field_33097
public static final int
c
SECTION_MASK
field_33100
field_33100
public static final int
d
SECTION_HALF_SIZE
field_33098
field_33098
public static final int
e
SECTION_MAX_INDEX
field_33099
field_33099
private static final int
f
PACKED_X_LENGTH
field_33101
field_33101
private static final int
i
PACKED_Y_LENGTH
field_33102
field_33102
private static final int
j
PACKED_Z_LENGTH
field_33103
field_33103
private static final long
k
PACKED_X_MASK
field_33104
field_33104
private static final long
l
PACKED_Y_MASK
field_33105
field_33105
private static final long
m
PACKED_Z_MASK
field_33106
field_33106
private static final int
n
Y_OFFSET
field_33107
field_33107
private static final int
o
Z_OFFSET
field_33108
field_33108
private static final int
p
X_OFFSET
field_33109
field_33109
private static final int
q
RELATIVE_X_SHIFT
field_33110
field_33110
private static final int
r
RELATIVE_Y_SHIFT
field_33111
field_33111
private static final int
s
RELATIVE_Z_SHIFT
field_33112
field_33112

Constructor summary

ModifierConstructor
(int arg0, int arg1, 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)
from(int x, int y, int z)
public static SectionPos
a(ji arg0)
of(BlockPos arg0)
method_18682(class_2338 arg0)
from(BlockPos pos)
public static SectionPos
a(dfp arg0, int arg1)
of(ChunkPos arg0, int arg1)
method_18681(class_1923 arg0, int arg1)
from(ChunkPos chunkPos, int y)
public static SectionPos
a(ebb arg0)
of(EntityAccess arg0)
method_42614(class_5568 arg0)
from(EntityLike entity)
public static SectionPos
a(kb arg0)
of(Position arg0)
method_18680(class_2374 arg0)
from(Position pos)
public static SectionPos
a(long arg0)
of(long arg0)
method_18677(long arg0)
from(long packed)
public static SectionPos
a(dyt arg0)
bottomOf(ChunkAccess arg0)
method_33705(class_2791 arg0)
from(Chunk chunk)
public static long
a(long arg0, jn arg1)
offset(long arg0, Direction arg1)
method_18679(long arg0, class_2350 arg1)
offset(long packed, Direction direction)
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)
offset(long packed, int x, int y, int z)
public static int
a(double arg0)
posToSectionCoord(double arg0)
method_32204(double arg0)
getSectionCoord(double coord)
public static int
a(int arg0)
blockToSectionCoord(int arg0)
method_18675(int arg0)
getSectionCoord(int coord)
public static int
b(double arg0)
blockToSectionCoord(double arg0)
method_42615(double arg0)
getSectionCoordFloored(double coord)
public static int
b(int arg0)
sectionRelative(int arg0)
method_18684(int arg0)
getLocalCoord(int coord)
public static short
b(ji arg0)
sectionRelativePos(BlockPos arg0)
method_19454(class_2338 arg0)
packLocal(BlockPos pos)
public static int
a(short arg0)
sectionRelativeX(short arg0)
method_30551(short arg0)
unpackLocalX(short packedLocalPos)
public static int
b(short arg0)
sectionRelativeY(short arg0)
method_30552(short arg0)
unpackLocalY(short packedLocalPos)
public static int
c(short arg0)
sectionRelativeZ(short arg0)
method_30553(short arg0)
unpackLocalZ(short packedLocalPos)
public int
d(short arg0)
relativeToBlockX(short arg0)
method_30554(short arg0)
unpackBlockX(short packedLocalPos)
public int
e(short arg0)
relativeToBlockY(short arg0)
method_30555(short arg0)
unpackBlockY(short packedLocalPos)
public int
f(short arg0)
relativeToBlockZ(short arg0)
method_30556(short arg0)
unpackBlockZ(short packedLocalPos)
public BlockPos
g(short arg0)
relativeToBlockPos(short arg0)
method_30557(short arg0)
unpackBlockPos(short packedLocalPos)
public static int
c(int arg0)
sectionToBlockCoord(int arg0)
method_18688(int arg0)
getBlockCoord(int sectionCoord)
public static int
a(int arg0, int arg1)
sectionToBlockCoord(int arg0, int arg1)
method_32205(int arg0, int arg1)
getOffsetPos(int chunkCoord, int offset)
public static int
b(long arg0)
x(long arg0)
method_18686(long arg0)
unpackX(long packed)
public static int
c(long arg0)
y(long arg0)
method_18689(long arg0)
unpackY(long packed)
public static int
d(long arg0)
z(long arg0)
method_18690(long arg0)
unpackZ(long packed)
public int
a()
x()
method_18674()
getSectionX()
public int
b()
y()
method_18683()
getSectionY()
public int
c()
z()
method_18687()
getSectionZ()
public int
d()
minBlockX()
method_19527()
getMinX()
public int
e()
minBlockY()
method_19528()
getMinY()
public int
f()
minBlockZ()
method_19529()
getMinZ()
public int
g()
maxBlockX()
method_19530()
getMaxX()
public int
h()
maxBlockY()
method_19531()
getMaxY()
public int
i()
maxBlockZ()
method_19532()
getMaxZ()
public static long
e(long arg0)
blockToSection(long arg0)
method_18691(long arg0)
fromBlockPos(long blockPos)
public static long
b(int arg0, int arg1)
getZeroNode(int arg0, int arg1)
method_51687(int arg0, int arg1)
withZeroY(int x, int z)
public static long
f(long arg0)
getZeroNode(long arg0)
method_18693(long arg0)
withZeroY(long pos)
public BlockPos
j()
origin()
method_19767()
getMinPos()
public BlockPos
k()
center()
method_19768()
getCenterPos()
public ChunkPos
r()
chunk()
method_18692()
toChunkPos()
public static long
c(ji arg0)
asLong(BlockPos arg0)
method_33706(class_2338 arg0)
toLong(BlockPos pos)
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)
asLong(int x, int y, int z)
public long
s()
asLong()
method_18694()
asLong()
public SectionPos
d(int arg0, int arg1, int arg2)
offset(int arg0, int arg1, int arg2)
method_34591(int arg0, int arg1, int arg2)
add(int arg0, int arg1, int arg2)
public Stream<BlockPos>
t()
blocksInside()
method_19533()
streamBlocks()
public static Stream<SectionPos>
a(kk arg0, int arg1)
cube(SectionPos arg0, int arg1)
method_20439(class_4076 arg0, int arg1)
stream(ChunkSectionPos center, int radius)
public static Stream<SectionPos>
a(dfp 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)
stream(ChunkPos center, int radius, int minY, int maxY)
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)
stream(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
public static void
a(ji 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)
forEachChunkSectionAround(BlockPos pos, it.unimi.dsi.fastutil.longs.LongConsumer consumer)
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)
forEachChunkSectionAround(long pos, it.unimi.dsi.fastutil.longs.LongConsumer consumer)
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)
forEachChunkSectionAround(int x, int y, int z, it.unimi.dsi.fastutil.longs.LongConsumer consumer)