net.minecraft.core

public class Vec3i

implements Comparable<Vec3i>

hy
net.minecraft.core.Vec3i
net.minecraft.class_2382
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
CODEC
f_123287_
public static final Vec3i
g
ZERO
field_11176
ZERO
f_123288_
private int
a
x
field_11175
x
f_123285_
private int
b
y
field_11174
y
f_123286_
private int
c
z
field_11173
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)
createOffsetCodec(int maxAbsValue)
m_194650_(int p_194651_)
public int
i(hy arg0)
compareTo(Vec3i arg0)
method_10265(class_2382 arg0)
compareTo(Vec3i arg0)
compareTo(C_4713_ arg0)
public int
u()
getX()
method_10263()
getX()
m_123341_()
public int
v()
getY()
method_10264()
getY()
m_123342_()
public int
w()
getZ()
method_10260()
getZ()
m_123343_()
protected Vec3i
u(int arg0)
setX(int arg0)
method_20787(int arg0)
setX(int x)
m_142451_(int arg0)
protected Vec3i
t(int arg0)
setY(int arg0)
method_10099(int arg0)
setY(int y)
m_142448_(int arg0)
protected Vec3i
s(int arg0)
setZ(int arg0)
method_20788(int arg0)
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)
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)
add(Vec3i vec)
m_121955_(C_4713_ arg0)
public Vec3i
e(hy arg0)
subtract(Vec3i arg0)
method_35852(class_2382 arg0)
subtract(Vec3i vec)
m_121996_(C_4713_ arg0)
public Vec3i
o(int arg0)
multiply(int arg0)
method_35862(int arg0)
multiply(int scale)
m_142393_(int arg0)
public Vec3i
p()
above()
method_30931()
up()
m_7494_()
public Vec3i
n(int arg0)
above(int arg0)
method_30930(int arg0)
up(int distance)
m_6630_(int arg0)
public Vec3i
o()
below()
method_23228()
down()
m_7495_()
public Vec3i
m(int arg0)
below(int arg0)
method_23227(int arg0)
down(int distance)
m_6625_(int arg0)
public Vec3i
n()
north()
method_35861()
north()
m_122012_()
public Vec3i
l(int arg0)
north(int arg0)
method_35860(int arg0)
north(int distance)
m_122013_(int arg0)
public Vec3i
m()
south()
method_35859()
south()
m_122019_()
public Vec3i
k(int arg0)
south(int arg0)
method_35858(int arg0)
south(int distance)
m_122020_(int arg0)
public Vec3i
l()
west()
method_35857()
west()
m_122024_()
public Vec3i
j(int arg0)
west(int arg0)
method_35856(int arg0)
west(int distance)
m_122025_(int arg0)
public Vec3i
k()
east()
method_35855()
east()
m_122029_()
public Vec3i
i(int arg0)
east(int arg0)
method_35854(int arg0)
east(int distance)
m_122030_(int arg0)
public Vec3i
b(ha arg0)
relative(Direction arg0)
method_35851(class_2350 arg0)
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)
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)
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)
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)
isWithinDistance(Vec3i vec, 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)
isWithinDistance(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)
getSquaredDistance(Vec3i vec)
m_123331_(C_4713_ arg0)
public double
b(ho arg0)
distToCenterSqr(Position arg0)
method_19770(class_2374 arg0)
getSquaredDistance(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)
getSquaredDistanceFromCenter(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)
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)
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)
getComponentAlongAxis(Direction$Axis axis)
m_123304_(C_4687_$C_4689_ arg0)
public String
x()
toShortString()
method_23854()
toShortString()
m_123344_()