net.minecraft.world.phys

public class Vec3

implements Position

cvi
net.minecraft.world.phys.Vec3
net.minecraft.class_243
net.minecraft.util.math.Vec3d
net.minecraft.util.math.Vec3d
net.minecraft.server.v1_15_R1.Vec3D

Field summary

Modifier and TypeField
public static final Vec3
a
ZERO
field_1353
ZERO
field_186680_a
public final double
b
x
field_1352
x
field_72450_a
x
public final double
c
y
field_1351
y
field_72448_b
y
public final double
d
z
field_1350
z
field_72449_c
z

Constructor summary

ModifierConstructor
public (double x, double y, double z)
public (Vector3f arg0)
public (Vec3i arg0)

Method summary

Modifier and TypeMethod
public Vec3
a(cvi arg0)
vectorTo(Vec3 arg0)
method_1035(class_243 arg0)
reverseSubtract(Vec3d arg0)
func_72444_a(Vec3d arg0)
public Vec3
d()
normalize()
method_1029()
normalize()
func_72432_b()
public double
b(cvi arg0)
dot(Vec3 arg0)
method_1026(class_243 arg0)
dotProduct(Vec3d arg0)
func_72430_b(Vec3d arg0)
public Vec3
c(cvi arg0)
cross(Vec3 arg0)
method_1036(class_243 arg0)
crossProduct(Vec3d arg0)
func_72431_c(Vec3d arg0)
public Vec3
d(cvi arg0)
subtract(Vec3 arg0)
method_1020(class_243 arg0)
subtract(Vec3d arg0)
func_178788_d(Vec3d arg0)
public Vec3
a(double arg0, double arg1, double arg2)
subtract(double arg0, double arg1, double arg2)
method_1023(double arg0, double arg1, double arg2)
subtract(double x, double y, double z)
func_178786_a(double arg0, double arg1, double arg2)
public Vec3
e(cvi arg0)
add(Vec3 arg0)
method_1019(class_243 arg0)
add(Vec3d arg0)
func_178787_e(Vec3d arg0)
public Vec3
b(double arg0, double arg1, double arg2)
add(double arg0, double arg1, double arg2)
method_1031(double arg0, double arg1, double arg2)
add(double x, double y, double z)
func_72441_c(double arg0, double arg1, double arg2)
add(double arg0, double arg1, double arg2)
public double
f(cvi arg0)
distanceTo(Vec3 arg0)
method_1022(class_243 arg0)
distanceTo(Vec3d arg0)
func_72438_d(Vec3d arg0)
public double
g(cvi arg0)
distanceToSqr(Vec3 arg0)
method_1025(class_243 arg0)
squaredDistanceTo(Vec3d arg0)
func_72436_e(Vec3d arg0)
distanceSquared(Vec3D arg0)
public double
c(double arg0, double arg1, double arg2)
distanceToSqr(double arg0, double arg1, double arg2)
method_1028(double arg0, double arg1, double arg2)
squaredDistanceTo(double x, double y, double z)
func_186679_c(double arg0, double arg1, double arg2)
public Vec3
a(double arg0)
scale(double arg0)
method_1021(double arg0)
multiply(double mult)
func_186678_a(double arg0)
public Vec3
h(cvi arg0)
multiply(Vec3 arg0)
method_18806(class_243 arg0)
multiply(Vec3d mult)
func_216369_h(Vec3d arg0)
public Vec3
d(double arg0, double arg1, double arg2)
multiply(double arg0, double arg1, double arg2)
method_18805(double arg0, double arg1, double arg2)
multiply(double multX, double multY, double multZ)
func_216372_d(double arg0, double arg1, double arg2)
public double
f()
length()
method_1033()
length()
func_72433_c()
public double
g()
lengthSqr()
method_1027()
lengthSquared()
func_189985_c()
public Vec3
a(float arg0)
xRot(float arg0)
method_1037(float arg0)
rotateX(float arg0)
func_178789_a(float arg0)
public Vec3
b(float arg0)
yRot(float arg0)
method_1024(float arg0)
rotateY(float arg0)
func_178785_b(float arg0)
public Vec3
a(EnumSet<fp$a> arg0)
align(EnumSet<Direction$Axis> arg0)
method_1032(EnumSet<class_2350$class_2351> arg0)
floorAlongAxes(EnumSet<Direction$Axis> axes)
func_197746_a(EnumSet<Direction$Axis> arg0)
public double
a(fp$a arg0)
get(Direction$Axis arg0)
method_18043(class_2350$class_2351 arg0)
getComponentAlongAxis(Direction$Axis arg0)
func_216370_a(Direction$Axis arg0)
public final double
a()
x()
method_10216()
getX()
func_82615_a()
getX()
public final double
b()
y()
method_10214()
getY()
func_82617_b()
getY()
public final double
c()
z()
method_10215()
getZ()
func_82616_c()
getZ()
public Vec3
e()
reverse()
method_22882()
negate()
func_216371_e()
public static Vec3
a(cvh arg0)
directionFromRotation(Vec2 arg0)
method_1034(class_241 arg0)
fromPolar(Vec2f polar)
func_189984_a(Vec2f arg0)
public static Vec3
a(float arg0, float arg1)
directionFromRotation(float arg0, float arg1)
method_1030(float arg0, float arg1)
fromPolar(float pitch, float yaw)
func_189986_a(float arg0, float arg1)