net.minecraft.util.math

public class BlockPos

extends Vec3i

fx
net.minecraft.core.BlockPos
net.minecraft.class_2338
net.minecraft.util.math.BlockPos
net.minecraft.unmapped.C_hynzadkk
net.minecraft.util.math.BlockPos
net.minecraft.util.math.BlockPos

Field summary

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

Constructor summary

ModifierConstructor
public (int arg0, int arg1, int arg2)
public (double arg0, double arg1, double arg2)
public (Vec3d 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)
offset(long value, Direction direction)
m_qsregrem(long arg0, C_xpuuihxf arg1)
func_218289_a(long arg0, Direction arg1)
offset(long pos, Direction direction)
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)
add(long value, int x, int y, int z)
m_kxtxdkke(long arg0, int arg1, int arg2, int arg3)
func_218291_a(long arg0, int arg1, int arg2, int arg3)
offset(long pos, int dx, int dy, int dz)
public static int
b(long arg0)
getX(long arg0)
method_10061(long arg0)
unpackLongX(long x)
m_vyqvnkfq(long arg0)
func_218290_b(long arg0)
unpackX(long packedPos)
public static int
c(long arg0)
getY(long arg0)
method_10071(long arg0)
unpackLongY(long y)
m_elynlcyj(long arg0)
func_218274_c(long arg0)
unpackY(long packedPos)
public static int
d(long arg0)
getZ(long arg0)
method_10083(long arg0)
unpackLongZ(long z)
m_ibctoofh(long arg0)
func_218282_d(long arg0)
unpackZ(long packedPos)
public static BlockPos
e(long arg0)
of(long arg0)
method_10092(long arg0)
fromLong(long value)
m_bzuqniby(long arg0)
func_218283_e(long arg0)
fromLong(long packedPos)
public long
a()
asLong()
method_10063()
asLong()
m_kijgmyso()
func_218275_a()
toLong()
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)
asLong(int x, int y, int z)
m_niydddbn(int arg0, int arg1, int arg2)
func_218276_a(int arg0, int arg1, int arg2)
pack(int x, int y, int z)
public static long
f(long arg0)
getFlatIndex(long arg0)
method_10091(long arg0)
removeChunkSectionLocalY(long y)
m_cprltrsg(long arg0)
func_218288_f(long arg0)
atSectionBottomY(long packedPos)
public BlockPos
a(double arg0, double arg1, double arg2)
offset(double arg0, double arg1, double arg2)
method_10080(double arg0, double arg1, double arg2)
add(double x, double y, double z)
m_sakpmjzv(double arg0, double arg1, double arg2)
func_177963_a(double arg0, double arg1, double arg2)
add(double x, double y, double z)
public BlockPos
b(int arg0, int arg1, int arg2)
offset(int arg0, int arg1, int arg2)
method_10069(int arg0, int arg1, int arg2)
add(int x, int y, int z)
m_helckfyc(int arg0, int arg1, int arg2)
func_177982_a(int arg0, int arg1, int arg2)
add(int x, int y, int z)
public BlockPos
a(gr arg0)
offset(Vec3i arg0)
method_10081(class_2382 arg0)
add(Vec3i pos)
m_fzzimhyd(C_ceivtqhh arg0)
func_177971_a(Vector3i arg0)
add(Vector3i vec)
public BlockPos
b(gr arg0)
subtract(Vec3i arg0)
method_10059(class_2382 arg0)
subtract(Vec3i pos)
m_lvvqtypp(C_ceivtqhh arg0)
func_177973_b(Vector3i arg0)
subtract(Vector3i vec)
public BlockPos
b()
above()
method_10084()
up()
m_iscpckqf()
func_177984_a()
up()
public BlockPos
b(int arg0)
above(int arg0)
method_10086(int arg0)
up(int distance)
m_qqrmdwts(int arg0)
func_177981_b(int arg0)
up(int n)
public BlockPos
c()
below()
method_10074()
down()
m_xssxgvff()
func_177977_b()
down()
public BlockPos
c(int arg0)
below(int arg0)
method_10087(int arg0)
down(int arg0)
m_ydrkqgel(int arg0)
func_177979_c(int arg0)
down(int n)
public BlockPos
d()
north()
method_10095()
north()
m_fekixumx()
func_177978_c()
north()
public BlockPos
d(int arg0)
north(int arg0)
method_10076(int arg0)
north(int distance)
m_pymcjqbq(int arg0)
func_177964_d(int arg0)
north(int n)
public BlockPos
e()
south()
method_10072()
south()
m_ynferynv()
func_177968_d()
south()
public BlockPos
e(int arg0)
south(int arg0)
method_10077(int arg0)
south(int distance)
m_vtdlizfn(int arg0)
func_177970_e(int arg0)
south(int n)
public BlockPos
f()
west()
method_10067()
west()
m_imqsaqnz()
func_177976_e()
west()
public BlockPos
f(int arg0)
west(int arg0)
method_10088(int arg0)
west(int distance)
m_deankwbp(int arg0)
func_177985_f(int arg0)
west(int n)
public BlockPos
g()
east()
method_10078()
east()
m_ibzagvsa()
func_177974_f()
east()
public BlockPos
g(int arg0)
east(int arg0)
method_10089(int arg0)
east(int distance)
m_eemhxpnc(int arg0)
func_177965_g(int arg0)
east(int n)
public BlockPos
a(gc arg0)
relative(Direction arg0)
method_10093(class_2350 arg0)
offset(Direction direction)
m_lxfryztv(C_xpuuihxf arg0)
func_177972_a(Direction arg0)
offset(Direction facing)
public BlockPos
a(gc arg0, int arg1)
relative(Direction arg0, int arg1)
method_10079(class_2350 arg0, int arg1)
offset(Direction arg0, int arg1)
m_fquswwec(C_xpuuihxf arg0, int arg1)
func_177967_a(Direction arg0, int arg1)
offset(Direction facing, int n)
public BlockPos
a(gc$a arg0, int arg1)
relative(Direction$Axis arg0, int arg1)
method_30513(class_2350$class_2351 arg0, int arg1)
method_30513(Direction$Axis arg0, int arg1)
m_rcbownun(C_xpuuihxf$C_rmpfouoz arg0, int arg1)
func_241872_a(Direction$Axis arg0, int arg1)
func_241872_a(Direction$Axis arg0, int arg1)
public BlockPos
a(bzj arg0)
rotate(Rotation arg0)
method_10070(class_2470 arg0)
rotate(BlockRotation rotation)
m_rragasjv(C_mboglirk arg0)
func_190942_a(Rotation arg0)
rotate(Rotation rotationIn)
public BlockPos
c(gr arg0)
cross(Vec3i arg0)
method_10075(class_2382 arg0)
crossProduct(Vec3i pos)
m_hkslycew(C_ceivtqhh arg0)
func_177955_d(Vector3i arg0)
crossProduct(Vector3i vec)
public BlockPos
h()
immutable()
method_10062()
toImmutable()
m_mbxphwhv()
func_185334_h()
toImmutable()
public BlockPos$Mutable
i()
mutable()
method_25503()
mutableCopy()
m_rqxosvyc()
func_239590_i_()
toMutable()
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)
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)
func_239585_a_(Random arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
getRandomPositions(Random rand, int amount, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
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)
iterateOutwards(BlockPos center, int xRange, int yRange, int zRange)
m_qwyfxequ(C_hynzadkk arg0, int arg1, int arg2, int arg3)
func_239583_a_(BlockPos arg0, int arg1, int arg2, int arg3)
getProximitySortedBoxPositionsIterator(BlockPos pos, int xWidth, int yHeight, int zWidth)
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)
findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition)
m_yepfwcyc(C_hynzadkk arg0, int arg1, int arg2, Predicate<C_hynzadkk> arg3)
func_239584_a_(BlockPos arg0, int arg1, int arg2, Predicate<BlockPos> arg3)
getClosestMatchingPosition(BlockPos pos, int width, int height, Predicate<BlockPos> posFilter)
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)
streamOutwards(BlockPos center, int maxX, int maxY, int maxZ)
m_jscknakh(C_hynzadkk arg0, int arg1, int arg2, int arg3)
func_239588_b_(BlockPos arg0, int arg1, int arg2, int arg3)
getProximitySortedBoxPositions(BlockPos pos, int xWidth, int yHeight, int zWidth)
public static Iterable<BlockPos>
a(fx arg0, fx arg1)
betweenClosed(BlockPos arg0, BlockPos arg1)
method_10097(class_2338 arg0, class_2338 arg1)
iterate(BlockPos start, BlockPos end)
m_ofkvaftr(C_hynzadkk arg0, C_hynzadkk arg1)
func_218278_a(BlockPos arg0, BlockPos arg1)
getAllInBoxMutable(BlockPos firstPos, BlockPos secondPos)
public static Stream<BlockPos>
b(fx arg0, fx arg1)
betweenClosedStream(BlockPos arg0, BlockPos arg1)
method_20437(class_2338 arg0, class_2338 arg1)
stream(BlockPos start, BlockPos end)
m_wjwhgqmy(C_hynzadkk arg0, C_hynzadkk arg1)
func_218281_b(BlockPos arg0, BlockPos arg1)
getAllInBox(BlockPos firstPos, BlockPos secondPos)
public static Stream<BlockPos>
a(cqx arg0)
betweenClosedStream(BoundingBox arg0)
method_23627(class_3341 arg0)
stream(BlockBox box)
m_amjyhiav(C_hmqypqzz arg0)
func_229383_a_(MutableBoundingBox arg0)
getAllInBox(MutableBoundingBox box)
public static Stream<BlockPos>
a(dcf arg0)
betweenClosedStream(AABB arg0)
method_29715(class_238 arg0)
method_29715(Box arg0)
m_uxberzqa(C_hbcjzgoe arg0)
func_239581_a_(AxisAlignedBB arg0)
getAllInBox(AxisAlignedBB aabb)
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)
stream(int startX, int startY, int startZ, int endX, int endY, int endZ)
m_mvoqirpg(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
func_218287_a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
getAllInBox(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
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)
iterate(int startX, int startY, int startZ, int endX, int endY, int endZ)
m_vhemcawy(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
func_191531_b(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
getAllInBoxMutable(int x1, int y1, int z1, int x2, int y2, int z2)
public static Iterable<BlockPos$Mutable>
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)
method_30512(BlockPos arg0, int arg1, Direction arg2, Direction arg3)
m_ocxffvqb(C_hynzadkk arg0, int arg1, C_xpuuihxf arg2, C_xpuuihxf arg3)
func_243514_a(BlockPos arg0, int arg1, Direction arg2, Direction arg3)
func_243514_a(BlockPos arg0, int arg1, Direction arg2, Direction arg3)