net.minecraft.core

public class Vec3i

implements Comparable<Vec3i>

hy
net.minecraft.core.Vec3i
net.minecraft.class_2382
net.minecraft.unmapped.C_ceivtqhh
net.minecraft.util.math.Vec3i
net.minecraft.util.math.Vec3i
net.minecraft.src.C_4713_
net.minecraft.core.BaseBlockPosition

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Vec3i>
f
CODEC
field_25123
f_ffeqirpv
CODEC
CODEC
f_123287_
public static final Vec3i
g
ZERO
field_11176
f_xysissth
ZERO
ZERO
f_123288_
private int
a
x
field_11175
f_awgjbxfd
x
x
f_123285_
private int
b
y
field_11174
f_txzizezl
y
y
f_123286_
private int
c
z
field_11173
f_qivyxfea
z
z
f_123289_

Constructor summary

ModifierConstructor
public (int x, int y, int z)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<Vec3i>
v(int arg0)
offsetCodec(int arg0)
method_39677(int arg0)
m_vidmysjs(int arg0)
createOffsetCodec(int maxAbsValue)
offsetCodec(int maxAbsValue)
m_194650_(int p_194651_)
public int
i(hy arg0)
compareTo(Vec3i arg0)
method_10265(class_2382 arg0)
m_xnldqsei(C_ceivtqhh arg0)
compareTo(Vec3i arg0)
compareTo(Vec3i arg0)
compareTo(C_4713_ arg0)
public int
u()
getX()
method_10263()
m_ycusljyq()
getX()
getX()
m_123341_()
public int
v()
getY()
method_10264()
m_ixiemnle()
getY()
getY()
m_123342_()
public int
w()
getZ()
method_10260()
m_vbvqttzl()
getZ()
getZ()
m_123343_()
protected Vec3i
u(int arg0)
setX(int arg0)
method_20787(int arg0)
m_ktzxfhrr(int arg0)
setX(int x)
setX(int x)
m_142451_(int arg0)
protected Vec3i
t(int arg0)
setY(int arg0)
method_10099(int arg0)
m_mrmmxowa(int arg0)
setY(int y)
setY(int y)
m_142448_(int arg0)
protected Vec3i
s(int arg0)
setZ(int arg0)
method_20788(int arg0)
m_aqofsvla(int arg0)
setZ(int z)
setZ(int z)
m_142443_(int arg0)
public Vec3i
c(int arg0, int arg1, int arg2)
offset(int arg0, int arg1, int arg2)
method_34592(int arg0, int arg1, int arg2)
m_bfqgxajo(int arg0, int arg1, int arg2)
add(int x, int y, int z)
add(int x, int y, int z)
m_7918_(int p_175594_, int p_175595_, int arg2)
public Vec3i
f(hy arg0)
offset(Vec3i arg0)
method_35853(class_2382 arg0)
m_hhgyhdjc(C_ceivtqhh arg0)
add(Vec3i vec)
add(Vec3i vec)
m_121955_(C_4713_ arg0)
public Vec3i
e(hy arg0)
subtract(Vec3i arg0)
method_35852(class_2382 arg0)
m_olqhkgem(C_ceivtqhh arg0)
subtract(Vec3i vec)
subtract(Vec3i vec)
m_121996_(C_4713_ arg0)
public Vec3i
o(int arg0)
multiply(int arg0)
method_35862(int arg0)
m_knhuehac(int arg0)
multiply(int scale)
multiply(int scale)
m_142393_(int arg0)
public Vec3i
p()
above()
method_30931()
m_vnrqolom()
up()
up()
m_7494_()
public Vec3i
n(int arg0)
above(int arg0)
method_30930(int arg0)
m_ajanihxr(int arg0)
up(int distance)
up(int distance)
m_6630_(int arg0)
public Vec3i
o()
below()
method_23228()
m_vejcemwv()
down()
down()
m_7495_()
public Vec3i
m(int arg0)
below(int arg0)
method_23227(int arg0)
m_pqbjpphg(int arg0)
down(int distance)
down(int distance)
m_6625_(int arg0)
public Vec3i
n()
north()
method_35861()
m_xgypvjkf()
north()
north()
m_122012_()
public Vec3i
l(int arg0)
north(int arg0)
method_35860(int arg0)
m_dybqwoaa(int arg0)
north(int distance)
north(int distance)
m_122013_(int arg0)
public Vec3i
m()
south()
method_35859()
m_wcsiaacv()
south()
south()
m_122019_()
public Vec3i
k(int arg0)
south(int arg0)
method_35858(int arg0)
m_xooxozxz(int arg0)
south(int distance)
south(int distance)
m_122020_(int arg0)
public Vec3i
l()
west()
method_35857()
m_wobuxrws()
west()
west()
m_122024_()
public Vec3i
j(int arg0)
west(int arg0)
method_35856(int arg0)
m_rxcmdbwd(int arg0)
west(int distance)
west(int distance)
m_122025_(int arg0)
public Vec3i
k()
east()
method_35855()
m_ofbzlhxo()
east()
east()
m_122029_()
public Vec3i
i(int arg0)
east(int arg0)
method_35854(int arg0)
m_uinpsxrr(int arg0)
east(int distance)
east(int distance)
m_122030_(int arg0)
public Vec3i
b(ha arg0)
relative(Direction arg0)
method_35851(class_2350 arg0)
m_fwbrzsxf(C_xpuuihxf arg0)
offset(Direction direction)
offset(Direction direction)
m_121945_(C_4687_ arg0)
public Vec3i
b(ha arg0, int arg1)
relative(Direction arg0, int arg1)
method_23226(class_2350 arg0, int arg1)
m_xtgszdbt(C_xpuuihxf arg0, int arg1)
offset(Direction direction, int distance)
offset(Direction direction, int distance)
m_5484_(C_4687_ p_123322_, int arg1)
public Vec3i
b(ha$a arg0, int arg1)
relative(Direction$Axis arg0, int arg1)
method_35850(class_2350$class_2351 arg0, int arg1)
m_ggxzpugs(C_xpuuihxf$C_rmpfouoz arg0, int arg1)
offset(Direction$Axis axis, int distance)
offset(Direction$Axis axis, int distance)
m_5487_(C_4687_$C_4689_ p_175591_, int arg1)
public Vec3i
d(hy arg0)
cross(Vec3i arg0)
method_10259(class_2382 arg0)
m_bhntonwf(C_ceivtqhh arg0)
crossProduct(Vec3i vec)
crossProduct(Vec3i vec)
m_7724_(C_4713_ arg0)
public boolean
a(hy arg0, double arg1)
closerThan(Vec3i arg0, double arg1)
method_19771(class_2382 arg0, double arg1)
m_jvwusaff(C_ceivtqhh arg0, double arg1)
isWithinDistance(Vec3i vec, double distance)
isWithinDistance(Vec3i pos, double distance)
m_123314_(C_4713_ p_123316_, double arg1)
public boolean
a(ho arg0, double arg1)
closerToCenterThan(Position arg0, double arg1)
method_19769(class_2374 arg0, double arg1)
m_upcxidzp(C_ogbhoqwb arg0, double arg1)
isWithinDistance(Position pos, double distance)
isCenterWithinDistance(Position pos, double distance)
m_203195_(C_4703_ p_203197_, double arg1)
public double
j(hy arg0)
distSqr(Vec3i arg0)
method_10262(class_2382 arg0)
m_qqjpqlai(C_ceivtqhh arg0)
getSquaredDistance(Vec3i vec)
getSquaredDistance(Vec3i vec)
m_123331_(C_4713_ arg0)
public double
b(ho arg0)
distToCenterSqr(Position arg0)
method_19770(class_2374 arg0)
m_dfmxvcsd(C_ogbhoqwb arg0)
getSquaredDistance(Position pos)
getSquaredDistanceToCenter(Position pos)
m_203193_(C_4703_ arg0)
public double
c(double arg0, double arg1, double arg2)
distToCenterSqr(double arg0, double arg1, double arg2)
method_10268(double arg0, double arg1, double arg2)
m_hyzhottu(double arg0, double arg1, double arg2)
getSquaredDistanceFromCenter(double x, double y, double z)
getSquaredDistanceToCenter(double x, double y, double z)
m_203198_(double p_203200_, double arg1, double arg2)
public double
d(double arg0, double arg1, double arg2)
distToLowCornerSqr(double arg0, double arg1, double arg2)
method_40081(double arg0, double arg1, double arg2)
m_agddurhm(double arg0, double arg1, double arg2)
getSquaredDistance(double x, double y, double z)
getSquaredDistance(double x, double y, double z)
m_203202_(double p_203204_, double arg1, double arg2)
public int
k(hy arg0)
distManhattan(Vec3i arg0)
method_19455(class_2382 arg0)
m_abvgrtji(C_ceivtqhh arg0)
getManhattanDistance(Vec3i vec)
getManhattanDistance(Vec3i vec)
m_123333_(C_4713_ arg0)
public int
a(ha$a arg0)
get(Direction$Axis arg0)
method_30558(class_2350$class_2351 arg0)
m_olijztzd(C_xpuuihxf$C_rmpfouoz arg0)
getComponentAlongAxis(Direction$Axis axis)
getComponentAlongAxis(Direction$Axis axis)
m_123304_(C_4687_$C_4689_ arg0)
public String
x()
toShortString()
method_23854()
m_ssfqqzrw()
toShortString()
toShortString()
m_123344_()