net.minecraft.core

public class Vec3i

implements Comparable<Vec3i>

gr
net.minecraft.core.Vec3i
net.minecraft.class_2382
net.minecraft.util.math.Vec3i
net.minecraft.util.math.vector.Vector3i
net.minecraft.server.v1_16_R2.BaseBlockPosition

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Vec3i>
c
CODEC
field_25123
field_25123
field_239781_c_
public static final Vec3i
d
ZERO
field_11176
ZERO
field_177959_e
ZERO
private int
a
x
field_11175
x
field_177962_a
private int
b
y
field_11174
y
field_177960_b
private int
e
z
field_11173
z
field_177961_c

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(gr arg0)
compareTo(Vec3i arg0)
method_10265(class_2382 arg0)
compareTo(Vec3i arg0)
compareTo(Vector3i arg0)
public int
u()
getX()
method_10263()
getX()
func_177958_n()
getX()
public int
v()
getY()
method_10264()
getY()
func_177956_o()
getY()
public int
w()
getZ()
method_10260()
getZ()
func_177952_p()
getZ()
protected void
o(int arg0)
setX(int arg0)
method_20787(int arg0)
setX(int x)
func_223471_o(int arg0)
protected void
p(int arg0)
setY(int arg0)
method_10099(int arg0)
setY(int y)
func_185336_p(int arg0)
protected void
q(int arg0)
setZ(int arg0)
method_20788(int arg0)
setZ(int z)
func_223472_q(int arg0)
public Vec3i
o()
above()
method_30931()
up()
func_177984_a()
up()
public Vec3i
m(int arg0)
above(int arg0)
method_30930(int arg0)
up(int arg0)
func_177981_b(int arg0)
up(int arg0)
public Vec3i
n()
below()
method_23228()
down()
func_177977_b()
down()
public Vec3i
l(int arg0)
below(int arg0)
method_23227(int arg0)
down(int arg0)
func_177979_c(int arg0)
down(int arg0)
public Vec3i
b(gc arg0, int arg1)
relative(Direction arg0, int arg1)
method_23226(class_2350 arg0, int arg1)
offset(Direction direction, int distance)
func_177967_a(Direction arg0, int arg1)
shift(EnumDirection arg0, int arg1)
public Vec3i
d(gr arg0)
cross(Vec3i arg0)
method_10259(class_2382 arg0)
crossProduct(Vec3i vec)
func_177955_d(Vector3i arg0)
public boolean
a(gr arg0, double arg1)
closerThan(Vec3i arg0, double arg1)
method_19771(class_2382 arg0, double arg1)
isWithinDistance(Vec3i vec, double distance)
func_218141_a(Vector3i arg0, double arg1)
public boolean
a(gk arg0, double arg1)
closerThan(Position arg0, double arg1)
method_19769(class_2374 arg0, double arg1)
isWithinDistance(Position pos, double distance)
func_218137_a(IPosition arg0, double arg1)
public double
j(gr arg0)
distSqr(Vec3i arg0)
method_10262(class_2382 arg0)
getSquaredDistance(Vec3i vec)
func_177951_i(Vector3i arg0)
public double
a(gk arg0, boolean arg1)
distSqr(Position arg0, boolean arg1)
method_19770(class_2374 arg0, boolean arg1)
getSquaredDistance(Position pos, boolean treatAsBlockPos)
func_218138_a(IPosition arg0, 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)
getSquaredDistance(double x, double y, double z, boolean treatAsBlockPos)
func_218140_a(double arg0, double arg1, double arg2, boolean arg3)
distanceSquared(double arg0, double arg1, double arg2, boolean arg3)
public int
k(gr arg0)
distManhattan(Vec3i arg0)
method_19455(class_2382 arg0)
getManhattanDistance(Vec3i vec)
func_218139_n(Vector3i arg0)
public int
a(gc$a arg0)
get(Direction$Axis arg0)
method_30558(class_2350$class_2351 arg0)
method_30558(Direction$Axis arg0)
func_243648_a(Direction$Axis arg0)
public String
x()
toShortString()
method_23854()
toShortString()
func_229422_x_()