net.minecraft.core

public class BlockPos

extends Vec3i

fx
net.minecraft.core.BlockPos
net.minecraft.class_2338
net.minecraft.unmapped.C_hynzadkk
net.minecraft.util.math.BlockPos
net.minecraft.util.math.BlockPos
net.minecraft.server.v1_16_R2.BlockPosition

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<BlockPos>
a
CODEC
field_25064
f_tuydkllc
CODEC
field_239578_a_
private static final org.apache.logging.log4j.Logger
e
LOGGER
field_18789
f_hsekmekl
LOGGER
field_185335_c
public static final BlockPos
b
ZERO
field_10980
f_tziahdbe
ORIGIN
field_177992_a
ZERO
private static final int
f
PACKED_X_LENGTH
field_10978
f_aoehwwsf
SIZE_BITS_X
field_177990_b
private static final int
g
PACKED_Z_LENGTH
field_10977
f_lxmqztxq
SIZE_BITS_Z
field_177991_c
private static final int
h
PACKED_Y_LENGTH
field_10975
f_ktlgsitz
SIZE_BITS_Y
field_177989_d
private static final long
i
PACKED_X_MASK
field_10976
f_bxvvupqt
BITS_X
field_177994_h
private static final long
j
PACKED_Y_MASK
field_10974
f_kjunxshk
BITS_Y
field_177995_i
private static final long
k
PACKED_Z_MASK
field_10973
f_rkdfzepm
BITS_Z
field_177993_j
private static final int
l
Z_OFFSET
field_10983
f_tudfxhtp
BIT_SHIFT_Z
field_218292_j
private static final int
m
X_OFFSET
field_10981
f_xfvuulqh
BIT_SHIFT_X
field_218293_k

Constructor summary

ModifierConstructor
public (int arg0, int arg1, int arg2)
public (double arg0, double arg1, double arg2)
public (Vec3 pos)
public (Position pos)
public (Vec3i pos)

Method summary

Modifier and TypeMethod
public static long
a(long arg0, gc 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)
func_218289_a(long arg0, Direction 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)
func_218291_a(long arg0, int arg1, int arg2, int arg3)
public static int
b(long arg0)
getX(long arg0)
method_10061(long arg0)
m_vyqvnkfq(long arg0)
unpackLongX(long packedPos)
func_218290_b(long arg0)
public static int
c(long arg0)
getY(long arg0)
method_10071(long arg0)
m_elynlcyj(long arg0)
unpackLongY(long packedPos)
func_218274_c(long arg0)
public static int
d(long arg0)
getZ(long arg0)
method_10083(long arg0)
m_ibctoofh(long arg0)
unpackLongZ(long packedPos)
func_218282_d(long arg0)
public static BlockPos
e(long arg0)
of(long arg0)
method_10092(long arg0)
m_bzuqniby(long arg0)
fromLong(long packedPos)
func_218283_e(long arg0)
fromLong(long arg0)
public long
a()
asLong()
method_10063()
m_kijgmyso()
asLong()
func_218275_a()
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)
func_218276_a(int arg0, int arg1, int arg2)
public static long
f(long arg0)
getFlatIndex(long arg0)
method_10091(long arg0)
m_cprltrsg(long arg0)
removeChunkSectionLocalY(long y)
func_218288_f(long arg0)
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 x, double y, double z)
func_177963_a(double arg0, 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 x, int y, int z)
func_177982_a(int arg0, int arg1, int arg2)
public BlockPos
a(gr arg0)
offset(Vec3i arg0)
method_10081(class_2382 arg0)
m_fzzimhyd(C_ceivtqhh arg0)
add(Vec3i pos)
func_177971_a(Vector3i arg0)
public BlockPos
b(gr arg0)
subtract(Vec3i arg0)
method_10059(class_2382 arg0)
m_lvvqtypp(C_ceivtqhh arg0)
subtract(Vec3i pos)
func_177973_b(Vector3i arg0)
public BlockPos
b()
above()
method_10084()
m_iscpckqf()
up()
func_177984_a()
up()
public BlockPos
b(int arg0)
above(int arg0)
method_10086(int arg0)
m_qqrmdwts(int arg0)
up(int distance)
func_177981_b(int arg0)
up(int arg0)
public BlockPos
c()
below()
method_10074()
m_xssxgvff()
down()
func_177977_b()
down()
public BlockPos
c(int arg0)
below(int arg0)
method_10087(int arg0)
m_ydrkqgel(int arg0)
down(int arg0)
func_177979_c(int arg0)
down(int arg0)
public BlockPos
d()
north()
method_10095()
m_fekixumx()
north()
func_177978_c()
north()
public BlockPos
d(int arg0)
north(int arg0)
method_10076(int arg0)
m_pymcjqbq(int arg0)
north(int distance)
func_177964_d(int arg0)
north(int arg0)
public BlockPos
e()
south()
method_10072()
m_ynferynv()
south()
func_177968_d()
south()
public BlockPos
e(int arg0)
south(int arg0)
method_10077(int arg0)
m_vtdlizfn(int arg0)
south(int distance)
func_177970_e(int arg0)
south(int arg0)
public BlockPos
f()
west()
method_10067()
m_imqsaqnz()
west()
func_177976_e()
west()
public BlockPos
f(int arg0)
west(int arg0)
method_10088(int arg0)
m_deankwbp(int arg0)
west(int distance)
func_177985_f(int arg0)
west(int arg0)
public BlockPos
g()
east()
method_10078()
m_ibzagvsa()
east()
func_177974_f()
east()
public BlockPos
g(int arg0)
east(int arg0)
method_10089(int arg0)
m_eemhxpnc(int arg0)
east(int distance)
func_177965_g(int arg0)
east(int arg0)
public BlockPos
a(gc arg0)
relative(Direction arg0)
method_10093(class_2350 arg0)
m_lxfryztv(C_xpuuihxf arg0)
offset(Direction direction)
func_177972_a(Direction arg0)
shift(EnumDirection arg0)
public BlockPos
a(gc 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)
func_177967_a(Direction arg0, int arg1)
shift(EnumDirection arg0, int arg1)
public BlockPos
a(gc$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 axis, int distance)
func_241872_a(Direction$Axis arg0, int arg1)
public BlockPos
a(bzj arg0)
rotate(Rotation arg0)
method_10070(class_2470 arg0)
m_rragasjv(C_mboglirk arg0)
rotate(BlockRotation rotation)
func_190942_a(Rotation arg0)
public BlockPos
c(gr arg0)
cross(Vec3i arg0)
method_10075(class_2382 arg0)
m_hkslycew(C_ceivtqhh arg0)
crossProduct(Vec3i pos)
func_177955_d(Vector3i arg0)
public BlockPos
h()
immutable()
method_10062()
m_mbxphwhv()
toImmutable()
func_185334_h()
immutableCopy()
public BlockPos$MutableBlockPos
i()
mutable()
method_25503()
m_rqxosvyc()
mutableCopy()
func_239590_i_()
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)
func_239585_a_(Random arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
public static Iterable<BlockPos>
a(fx 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 xRange, int yRange, int zRange)
func_239583_a_(BlockPos arg0, int arg1, int arg2, int arg3)
public static Optional<BlockPos>
a(fx arg0, int arg1, int arg2, Predicate<fx> 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)
func_239584_a_(BlockPos arg0, int arg1, int arg2, Predicate<BlockPos> arg3)
public static Stream<BlockPos>
b(fx 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)
func_239588_b_(BlockPos arg0, int arg1, int arg2, int arg3)
public static Iterable<BlockPos>
a(fx arg0, fx 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)
func_218278_a(BlockPos arg0, BlockPos arg1)
public static Stream<BlockPos>
b(fx arg0, fx 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)
func_218281_b(BlockPos arg0, BlockPos arg1)
public static Stream<BlockPos>
a(cqx arg0)
betweenClosedStream(BoundingBox arg0)
method_23627(class_3341 arg0)
m_amjyhiav(C_hmqypqzz arg0)
stream(BlockBox box)
func_229383_a_(MutableBoundingBox arg0)
public static Stream<BlockPos>
a(dcf arg0)
betweenClosedStream(AABB arg0)
method_29715(class_238 arg0)
m_uxberzqa(C_hbcjzgoe arg0)
stream(Box box)
func_239581_a_(AxisAlignedBB arg0)
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)
func_218287_a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
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)
func_191531_b(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
public static Iterable<BlockPos$MutableBlockPos>
a(fx arg0, int arg1, gc arg2, gc 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)
method_30512(BlockPos arg0, int arg1, Direction arg2, Direction arg3)
func_243514_a(BlockPos arg0, int arg1, Direction arg2, Direction arg3)