net.minecraft.core

public class Vec3i

implements Comparable<Vec3i>

kl
net.minecraft.core.Vec3i
net.minecraft.class_2382
net.minecraft.util.math.Vec3i
net.minecraft.core.BaseBlockPosition

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Vec3i>
g
CODEC
field_25123
CODEC
public static final Vec3i
h
ZERO
field_11176
ZERO
private int
a
x
field_11175
x
private int
b
y
field_11174
y
private int
c
z
field_11173
z

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)
public int
i(kl arg0)
compareTo(Vec3i arg0)
method_10265(class_2382 arg0)
compareTo(Vec3i arg0)
public int
u()
getX()
method_10263()
getX()
public int
v()
getY()
method_10264()
getY()
public int
w()
getZ()
method_10260()
getZ()
protected Vec3i
u(int arg0)
setX(int arg0)
method_20787(int arg0)
setX(int x)
protected Vec3i
t(int arg0)
setY(int arg0)
method_10099(int arg0)
setY(int y)
protected Vec3i
s(int arg0)
setZ(int arg0)
method_20788(int arg0)
setZ(int z)
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)
public Vec3i
f(kl arg0)
offset(Vec3i arg0)
method_35853(class_2382 arg0)
add(Vec3i vec)
public Vec3i
e(kl arg0)
subtract(Vec3i arg0)
method_35852(class_2382 arg0)
subtract(Vec3i vec)
public Vec3i
o(int arg0)
multiply(int arg0)
method_35862(int arg0)
multiply(int scale)
public Vec3i
q()
above()
method_30931()
up()
public Vec3i
n(int arg0)
above(int arg0)
method_30930(int arg0)
up(int distance)
public Vec3i
p()
below()
method_23228()
down()
public Vec3i
m(int arg0)
below(int arg0)
method_23227(int arg0)
down(int distance)
public Vec3i
o()
north()
method_35861()
north()
public Vec3i
l(int arg0)
north(int arg0)
method_35860(int arg0)
north(int distance)
public Vec3i
n()
south()
method_35859()
south()
public Vec3i
k(int arg0)
south(int arg0)
method_35858(int arg0)
south(int distance)
public Vec3i
m()
west()
method_35857()
west()
public Vec3i
j(int arg0)
west(int arg0)
method_35856(int arg0)
west(int distance)
public Vec3i
l()
east()
method_35855()
east()
public Vec3i
i(int arg0)
east(int arg0)
method_35854(int arg0)
east(int distance)
public Vec3i
b(jm arg0)
relative(Direction arg0)
method_35851(class_2350 arg0)
offset(Direction direction)
public Vec3i
b(jm arg0, int arg1)
relative(Direction arg0, int arg1)
method_23226(class_2350 arg0, int arg1)
offset(Direction direction, int distance)
public Vec3i
b(jm$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)
public Vec3i
d(kl arg0)
cross(Vec3i arg0)
method_10259(class_2382 arg0)
crossProduct(Vec3i vec)
public boolean
a(kl arg0, double arg1)
closerThan(Vec3i arg0, double arg1)
method_19771(class_2382 arg0, double arg1)
isWithinDistance(Vec3i vec, double distance)
public boolean
a(ka arg0, double arg1)
closerToCenterThan(Position arg0, double arg1)
method_19769(class_2374 arg0, double arg1)
isWithinDistance(Position pos, double distance)
public double
j(kl arg0)
distSqr(Vec3i arg0)
method_10262(class_2382 arg0)
getSquaredDistance(Vec3i vec)
public double
b(ka arg0)
distToCenterSqr(Position arg0)
method_19770(class_2374 arg0)
getSquaredDistance(Position pos)
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)
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)
public int
k(kl arg0)
distManhattan(Vec3i arg0)
method_19455(class_2382 arg0)
getManhattanDistance(Vec3i vec)
public int
l(kl arg0)
distChessboard(Vec3i arg0)
method_65076(class_2382 arg0)
getChebyshevDistance(Vec3i vec)
public int
a(jm$a arg0)
get(Direction$Axis arg0)
method_30558(class_2350$class_2351 arg0)
getComponentAlongAxis(Direction$Axis axis)
public String
x()
toShortString()
method_23854()
toShortString()