net.minecraft.core

public class BlockPos

extends Vec3i

gg
net.minecraft.core.BlockPos
net.minecraft.class_2338
net.minecraft.unmapped.C_hynzadkk
net.minecraft.util.math.BlockPos
net.minecraft.src.C_4675_
net.minecraft.core.BlockPosition

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<BlockPos>
a
CODEC
field_25064
f_tuydkllc
CODEC
f_121852_
private static final org.apache.logging.log4j.Logger
d
LOGGER
field_18789
f_hsekmekl
LOGGER
f_121854_
public static final BlockPos
b
ZERO
field_10980
f_tziahdbe
ORIGIN
f_121853_
private static final int
g
PACKED_X_LENGTH
field_10978
f_aoehwwsf
SIZE_BITS_X
f_121855_
private static final int
h
PACKED_Z_LENGTH
field_10977
f_lxmqztxq
SIZE_BITS_Z
f_121856_
public static final int
c
PACKED_Y_LENGTH
field_10975
f_ktlgsitz
SIZE_BITS_Y
f_121857_
private static final long
i
PACKED_X_MASK
field_10976
f_bxvvupqt
BITS_X
f_121858_
private static final long
j
PACKED_Y_MASK
field_10974
f_kjunxshk
BITS_Y
f_121859_
private static final long
k
PACKED_Z_MASK
field_10973
f_rkdfzepm
BITS_Z
f_121860_
private static final int
l
Y_OFFSET
field_33083
f_uqzvztbx
field_33083
f_175261_
private static final int
m
Z_OFFSET
field_10983
f_tudfxhtp
BIT_SHIFT_Z
f_121861_
private static final int
n
X_OFFSET
field_10981
f_xfvuulqh
BIT_SHIFT_X
f_121862_

Constructor summary

ModifierConstructor
public (int p_121870_, int p_121871_, int arg2)
public (double p_121866_, double arg1, double arg2)
public (Vec3 pos)
public (Position pos)
public (Vec3i pos)

Method summary

Modifier and TypeMethod
public static long
a(long arg0, gl arg1)
offset(long arg0, Direction arg1)
method_10060(long arg0, class_2350 arg1)
m_qsregrem(long arg0, C_xpuuihxf arg1)
offset(long value, Direction direction)
m_121915_(long p_121916_, 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_10096(long arg0, int arg1, int arg2, int arg3)
m_kxtxdkke(long arg0, int arg1, int arg2, int arg3)
add(long value, int x, int y, int z)
m_121910_(long p_121911_, int p_121913_, int p_121914_, int arg3)
public static int
a(long arg0)
getX(long arg0)
method_10061(long arg0)
m_vyqvnkfq(long arg0)
unpackLongX(long packedPos)
m_121983_(long p_121984_)
public static int
b(long arg0)
getY(long arg0)
method_10071(long arg0)
m_elynlcyj(long arg0)
unpackLongY(long packedPos)
m_122008_(long p_122009_)
public static int
c(long arg0)
getZ(long arg0)
method_10083(long arg0)
m_ibctoofh(long arg0)
unpackLongZ(long packedPos)
m_122015_(long p_122016_)
public static BlockPos
d(long arg0)
of(long arg0)
method_10092(long arg0)
m_bzuqniby(long arg0)
fromLong(long packedPos)
m_122022_(long p_122023_)
fromLong(long arg0)
public long
a()
asLong()
method_10063()
m_kijgmyso()
asLong()
m_121878_()
asLong()
public static long
a(int arg0, int arg1, int arg2)
asLong(int arg0, int arg1, int arg2)
method_10064(int arg0, int arg1, int arg2)
m_niydddbn(int arg0, int arg1, int arg2)
asLong(int x, int y, int z)
m_121882_(int p_121883_, int p_121884_, int p_121885_)
public static long
e(long arg0)
getFlatIndex(long arg0)
method_10091(long arg0)
m_cprltrsg(long arg0)
removeChunkSectionLocalY(long y)
m_122027_(long p_122028_)
public BlockPos
a(double arg0, double arg1, double arg2)
offset(double arg0, double arg1, double arg2)
method_10080(double arg0, double arg1, double arg2)
m_sakpmjzv(double arg0, double arg1, double arg2)
add(double arg0, double arg1, double arg2)
m_142022_(double p_121880_, double arg1, double arg2)
public BlockPos
b(int arg0, int arg1, int arg2)
offset(int arg0, int arg1, int arg2)
method_10069(int arg0, int arg1, int arg2)
m_helckfyc(int arg0, int arg1, int arg2)
add(int arg0, int arg1, int arg2)
m_142082_(int p_121974_, int p_121975_, int arg2)
public BlockPos
a(hb arg0)
offset(Vec3i arg0)
method_10081(class_2382 arg0)
m_fzzimhyd(C_ceivtqhh arg0)
add(Vec3i arg0)
m_141952_(C_4713_ arg0)
public BlockPos
b(hb arg0)
subtract(Vec3i arg0)
method_10059(class_2382 arg0)
m_lvvqtypp(C_ceivtqhh arg0)
subtract(Vec3i arg0)
m_141950_(C_4713_ arg0)
public BlockPos
a(int arg0)
multiply(int arg0)
method_35830(int arg0)
m_ifesfxmw(int arg0)
multiply(int arg0)
m_142393_(int arg0)
public BlockPos
b()
above()
method_10084()
m_iscpckqf()
up()
m_7494_()
up()
public BlockPos
b(int arg0)
above(int arg0)
method_10086(int arg0)
m_qqrmdwts(int arg0)
up(int distance)
m_6630_(int arg0)
up(int arg0)
public BlockPos
c()
below()
method_10074()
m_xssxgvff()
down()
m_7495_()
down()
public BlockPos
c(int arg0)
below(int arg0)
method_10087(int arg0)
m_ydrkqgel(int arg0)
down(int arg0)
m_6625_(int arg0)
down(int arg0)
public BlockPos
d()
north()
method_10095()
m_fekixumx()
north()
m_142127_()
north()
public BlockPos
d(int arg0)
north(int arg0)
method_10076(int arg0)
m_pymcjqbq(int arg0)
north(int distance)
m_142390_(int arg0)
north(int arg0)
public BlockPos
e()
south()
method_10072()
m_ynferynv()
south()
m_142128_()
south()
public BlockPos
e(int arg0)
south(int arg0)
method_10077(int arg0)
m_vtdlizfn(int arg0)
south(int distance)
m_142383_(int arg0)
south(int arg0)
public BlockPos
f()
west()
method_10067()
m_imqsaqnz()
west()
m_142125_()
west()
public BlockPos
f(int arg0)
west(int arg0)
method_10088(int arg0)
m_deankwbp(int arg0)
west(int distance)
m_142386_(int arg0)
west(int arg0)
public BlockPos
g()
east()
method_10078()
m_ibzagvsa()
east()
m_142126_()
east()
public BlockPos
g(int arg0)
east(int arg0)
method_10089(int arg0)
m_eemhxpnc(int arg0)
east(int distance)
m_142385_(int arg0)
east(int arg0)
public BlockPos
a(gl arg0)
relative(Direction arg0)
method_10093(class_2350 arg0)
m_lxfryztv(C_xpuuihxf arg0)
offset(Direction arg0)
m_142300_(C_4687_ arg0)
shift(EnumDirection arg0)
public BlockPos
a(gl arg0, int arg1)
relative(Direction arg0, int arg1)
method_10079(class_2350 arg0, int arg1)
m_fquswwec(C_xpuuihxf arg0, int arg1)
offset(Direction arg0, int arg1)
m_5484_(C_4687_ p_121949_, int arg1)
shift(EnumDirection arg0, int arg1)
public BlockPos
a(gl$a arg0, int arg1)
relative(Direction$Axis arg0, int arg1)
method_30513(class_2350$class_2351 arg0, int arg1)
m_rcbownun(C_xpuuihxf$C_rmpfouoz arg0, int arg1)
offset(Direction$Axis arg0, int arg1)
m_142629_(C_4687_$C_4689_ p_121944_, int arg1)
public BlockPos
a(cfl arg0)
rotate(Rotation arg0)
method_10070(class_2470 arg0)
m_rragasjv(C_mboglirk arg0)
rotate(BlockRotation rotation)
m_7954_(C_1886_ arg0)
public BlockPos
c(hb arg0)
cross(Vec3i arg0)
method_10075(class_2382 arg0)
m_hkslycew(C_ceivtqhh arg0)
crossProduct(Vec3i pos)
m_7724_(C_4713_ arg0)
public BlockPos
h(int arg0)
atY(int arg0)
method_33096(int arg0)
m_qqrmblnw(int arg0)
withY(int y)
m_175288_(int arg0)
public BlockPos
h()
immutable()
method_10062()
m_mbxphwhv()
toImmutable()
m_7949_()
immutableCopy()
public BlockPos$MutableBlockPos
i()
mutable()
method_25503()
m_rqxosvyc()
mutableCopy()
m_122032_()
public static Iterable<BlockPos>
a(Random arg0, int arg1, gg arg2, int arg3)
randomInCube(Random arg0, int arg1, BlockPos arg2, int arg3)
method_34848(Random arg0, int arg1, class_2338 arg2, int arg3)
m_kdyfclny(Random arg0, int arg1, C_hynzadkk arg2, int arg3)
iterateRandomly(Random random, int count, BlockPos around, int range)
m_175264_(Random p_175265_, int p_175266_, C_4675_ p_175267_, int p_175268_)
public static Iterable<BlockPos>
a(Random arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
randomBetweenClosed(Random arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
method_27156(Random arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
m_dvruotvh(Random arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
iterateRandomly(Random random, int count, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
m_121957_(Random p_121958_, int p_121959_, int p_121960_, int p_121961_, int p_121962_, int p_121963_, int p_121964_, int p_121965_)
public static Iterable<BlockPos>
a(gg arg0, int arg1, int arg2, int arg3)
withinManhattan(BlockPos arg0, int arg1, int arg2, int arg3)
method_25996(class_2338 arg0, int arg1, int arg2, int arg3)
m_qwyfxequ(C_hynzadkk arg0, int arg1, int arg2, int arg3)
iterateOutwards(BlockPos center, int rangeX, int rangeY, int rangeZ)
m_121925_(C_4675_ p_121926_, int p_121927_, int p_121928_, int p_121929_)
public static Optional<BlockPos>
a(gg arg0, int arg1, int arg2, Predicate<gg> arg3)
findClosestMatch(BlockPos arg0, int arg1, int arg2, Predicate<BlockPos> arg3)
method_25997(class_2338 arg0, int arg1, int arg2, Predicate<class_2338> arg3)
m_yepfwcyc(C_hynzadkk arg0, int arg1, int arg2, Predicate<C_hynzadkk> arg3)
findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition)
m_121930_(C_4675_ p_121931_, int p_121932_, int p_121933_, Predicate<C_4675_> p_121934_)
public static Stream<BlockPos>
b(gg arg0, int arg1, int arg2, int arg3)
withinManhattanStream(BlockPos arg0, int arg1, int arg2, int arg3)
method_25998(class_2338 arg0, int arg1, int arg2, int arg3)
m_jscknakh(C_hynzadkk arg0, int arg1, int arg2, int arg3)
streamOutwards(BlockPos center, int maxX, int maxY, int maxZ)
m_121985_(C_4675_ p_121986_, int p_121987_, int p_121988_, int p_121989_)
public static Iterable<BlockPos>
a(gg arg0, gg arg1)
betweenClosed(BlockPos arg0, BlockPos arg1)
method_10097(class_2338 arg0, class_2338 arg1)
m_ofkvaftr(C_hynzadkk arg0, C_hynzadkk arg1)
iterate(BlockPos start, BlockPos end)
m_121940_(C_4675_ p_121941_, C_4675_ p_121942_)
public static Stream<BlockPos>
b(gg arg0, gg arg1)
betweenClosedStream(BlockPos arg0, BlockPos arg1)
method_20437(class_2338 arg0, class_2338 arg1)
m_wjwhgqmy(C_hynzadkk arg0, C_hynzadkk arg1)
stream(BlockPos start, BlockPos end)
m_121990_(C_4675_ p_121991_, C_4675_ p_121992_)
public static Stream<BlockPos>
a(dar arg0)
betweenClosedStream(BoundingBox arg0)
method_23627(class_3341 arg0)
m_amjyhiav(C_hmqypqzz arg0)
stream(BlockBox box)
m_121919_(C_2478_ p_121920_)
public static Stream<BlockPos>
a(dmv arg0)
betweenClosedStream(AABB arg0)
method_29715(class_238 arg0)
m_uxberzqa(C_hbcjzgoe arg0)
stream(Box box)
m_121921_(C_3040_ p_121922_)
public static Stream<BlockPos>
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_17962(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
m_mvoqirpg(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
stream(int startX, int startY, int startZ, int endX, int endY, int endZ)
m_121886_(int p_121887_, int p_121888_, int p_121889_, int p_121890_, int p_121891_, int p_121892_)
public static Iterable<BlockPos>
b(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
betweenClosed(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_10094(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
m_vhemcawy(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
iterate(int startX, int startY, int startZ, int endX, int endY, int endZ)
m_121976_(int p_121977_, int p_121978_, int p_121979_, int p_121980_, int p_121981_, int p_121982_)
public static Iterable<BlockPos$MutableBlockPos>
a(gg arg0, int arg1, gl arg2, gl arg3)
spiralAround(BlockPos arg0, int arg1, Direction arg2, Direction arg3)
method_30512(class_2338 arg0, int arg1, class_2350 arg2, class_2350 arg3)
m_ocxffvqb(C_hynzadkk arg0, int arg1, C_xpuuihxf arg2, C_xpuuihxf arg3)
iterateInSquare(BlockPos center, int radius, Direction firstDirection, Direction secondDirection)
m_121935_(C_4675_ p_121936_, int p_121937_, C_4687_ p_121938_, C_4687_ p_121939_)