net.minecraft.core

public class Vec3i

implements Comparable<Vec3i>

hb
net.minecraft.core.Vec3i
net.minecraft.class_2382
net.minecraft.unmapped.C_ceivtqhh
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>
e
CODEC
field_25123
f_ffeqirpv
CODEC
f_123287_
public static final Vec3i
f
ZERO
field_11176
f_xysissth
ZERO
f_123288_
private int
a
x
field_11175
f_awgjbxfd
x
f_123285_
private int
b
y
field_11174
f_txzizezl
y
f_123286_
private int
c
z
field_11173
f_qivyxfea
z
f_123289_

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
i(hb arg0)
compareTo(Vec3i arg0)
method_10265(class_2382 arg0)
m_xnldqsei(C_ceivtqhh arg0)
compareTo(Vec3i arg0)
compareTo(C_4713_ arg0)
public int
u()
getX()
method_10263()
m_ycusljyq()
getX()
m_123341_()
getX()
public int
v()
getY()
method_10264()
m_ixiemnle()
getY()
m_123342_()
getY()
public int
w()
getZ()
method_10260()
m_vbvqttzl()
getZ()
m_123343_()
getZ()
protected Vec3i
u(int arg0)
setX(int arg0)
method_20787(int arg0)
m_ktzxfhrr(int arg0)
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)
m_142448_(int arg0)
protected Vec3i
s(int arg0)
setZ(int arg0)
method_20788(int arg0)
m_aqofsvla(int arg0)
setZ(int z)
m_142443_(int arg0)
public Vec3i
b(double arg0, double arg1, double arg2)
offset(double arg0, double arg1, double arg2)
method_35849(double arg0, double arg1, double arg2)
m_kjageqhx(double arg0, double arg1, double arg2)
add(double x, double y, double z)
m_142022_(double p_175588_, double arg1, double arg2)
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)
m_142082_(int p_175594_, int p_175595_, int arg2)
public Vec3i
f(hb arg0)
offset(Vec3i arg0)
method_35853(class_2382 arg0)
m_hhgyhdjc(C_ceivtqhh arg0)
add(Vec3i vec)
m_141952_(C_4713_ arg0)
public Vec3i
e(hb arg0)
subtract(Vec3i arg0)
method_35852(class_2382 arg0)
m_olqhkgem(C_ceivtqhh arg0)
subtract(Vec3i vec)
m_141950_(C_4713_ arg0)
public Vec3i
o(int arg0)
multiply(int arg0)
method_35862(int arg0)
m_knhuehac(int arg0)
multiply(int scale)
m_142393_(int arg0)
public Vec3i
o()
above()
method_30931()
m_vnrqolom()
up()
m_7494_()
up()
public Vec3i
n(int arg0)
above(int arg0)
method_30930(int arg0)
m_ajanihxr(int arg0)
up(int distance)
m_6630_(int arg0)
up(int arg0)
public Vec3i
n()
below()
method_23228()
m_vejcemwv()
down()
m_7495_()
down()
public Vec3i
m(int arg0)
below(int arg0)
method_23227(int arg0)
m_pqbjpphg(int arg0)
down(int distance)
m_6625_(int arg0)
down(int arg0)
public Vec3i
m()
north()
method_35861()
m_xgypvjkf()
north()
m_142127_()
north()
public Vec3i
l(int arg0)
north(int arg0)
method_35860(int arg0)
m_dybqwoaa(int arg0)
north(int distance)
m_142390_(int arg0)
north(int arg0)
public Vec3i
l()
south()
method_35859()
m_wcsiaacv()
south()
m_142128_()
south()
public Vec3i
k(int arg0)
south(int arg0)
method_35858(int arg0)
m_xooxozxz(int arg0)
south(int distance)
m_142383_(int arg0)
south(int arg0)
public Vec3i
k()
west()
method_35857()
m_wobuxrws()
west()
m_142125_()
west()
public Vec3i
j(int arg0)
west(int arg0)
method_35856(int arg0)
m_rxcmdbwd(int arg0)
west(int distance)
m_142386_(int arg0)
west(int arg0)
public Vec3i
j()
east()
method_35855()
m_ofbzlhxo()
east()
m_142126_()
east()
public Vec3i
i(int arg0)
east(int arg0)
method_35854(int arg0)
m_uinpsxrr(int arg0)
east(int distance)
m_142385_(int arg0)
east(int arg0)
public Vec3i
b(gl arg0)
relative(Direction arg0)
method_35851(class_2350 arg0)
m_fwbrzsxf(C_xpuuihxf arg0)
offset(Direction direction)
m_142300_(C_4687_ arg0)
shift(EnumDirection arg0)
public Vec3i
b(gl 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)
m_5484_(C_4687_ p_123322_, int arg1)
shift(EnumDirection arg0, int arg1)
public Vec3i
b(gl$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)
m_142629_(C_4687_$C_4689_ p_175591_, int arg1)
public Vec3i
d(hb arg0)
cross(Vec3i arg0)
method_10259(class_2382 arg0)
m_bhntonwf(C_ceivtqhh arg0)
crossProduct(Vec3i vec)
m_7724_(C_4713_ arg0)
public boolean
a(hb arg0, double arg1)
closerThan(Vec3i arg0, double arg1)
method_19771(class_2382 arg0, double arg1)
m_fhbzlgql(C_ceivtqhh arg0, double arg1)
isWithinDistance(Vec3i vec, double distance)
m_123314_(C_4713_ p_123316_, double arg1)
public boolean
a(gt arg0, double arg1)
closerThan(Position arg0, double arg1)
method_19769(class_2374 arg0, double arg1)
m_lvhtmsfx(C_ogbhoqwb arg0, double arg1)
isWithinDistance(Position pos, double distance)
m_123306_(C_4703_ p_123308_, double arg1)
public double
j(hb arg0)
distSqr(Vec3i arg0)
method_10262(class_2382 arg0)
m_dhfuutrd(C_ceivtqhh arg0)
getSquaredDistance(Vec3i vec)
m_123331_(C_4713_ arg0)
public double
a(gt arg0, boolean arg1)
distSqr(Position arg0, boolean arg1)
method_19770(class_2374 arg0, boolean arg1)
m_mzhmidnq(C_ogbhoqwb arg0, boolean arg1)
getSquaredDistance(Position pos, boolean treatAsBlockPos)
m_123309_(C_4703_ p_123311_, boolean arg1)
public double
a(hb arg0, boolean arg1)
distSqr(Vec3i arg0, boolean arg1)
method_33106(class_2382 arg0, boolean arg1)
m_pmvfjczu(C_ceivtqhh arg0, boolean arg1)
getSquaredDistance(Vec3i vec, boolean treatAsBlockPos)
m_175582_(C_4713_ p_175584_, boolean arg1)
public double
a(double arg0, double arg1, double arg2, boolean arg3)
distSqr(double arg0, double arg1, double arg2, boolean arg3)
method_10268(double arg0, double arg1, double arg2, boolean arg3)
m_bywazdyl(double arg0, double arg1, double arg2, boolean arg3)
getSquaredDistance(double x, double y, double z, boolean treatAsBlockPos)
m_123299_(double p_123301_, double p_123303_, double arg2, boolean arg3)
distanceSquared(double arg0, double arg1, double arg2, boolean arg3)
public int
k(hb arg0)
distManhattan(Vec3i arg0)
method_19455(class_2382 arg0)
m_abvgrtji(C_ceivtqhh arg0)
getManhattanDistance(Vec3i vec)
m_123333_(C_4713_ arg0)
public int
a(gl$a arg0)
get(Direction$Axis arg0)
method_30558(class_2350$class_2351 arg0)
m_olijztzd(C_xpuuihxf$C_rmpfouoz arg0)
getComponentAlongAxis(Direction$Axis axis)
m_123304_(C_4687_$C_4689_ arg0)
public String
x()
toShortString()
method_23854()
m_ssfqqzrw()
toShortString()
m_123344_()