net.minecraft.world.phys

public class Vec3

implements Position

dem
net.minecraft.world.phys.Vec3
net.minecraft.class_243
net.minecraft.util.math.Vec3d
net.minecraft.util.math.vector.Vector3d
net.minecraft.server.v1_16_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 vec)

Method summary

Modifier and TypeMethod
public static Vec3
a(gr arg0)
atCenterOf(Vec3i arg0)
method_24953(class_2382 arg0)
ofCenter(Vec3i vec)
func_237489_a_(Vector3i arg0)
public static Vec3
b(gr arg0)
atLowerCornerOf(Vec3i arg0)
method_24954(class_2382 arg0)
of(Vec3i vec)
func_237491_b_(Vector3i arg0)
public static Vec3
c(gr arg0)
atBottomCenterOf(Vec3i arg0)
method_24955(class_2382 arg0)
ofBottomCenter(Vec3i vec)
func_237492_c_(Vector3i arg0)
public static Vec3
a(gr arg0, double arg1)
upFromBottomCenterOf(Vec3i arg0, double arg1)
method_26410(class_2382 arg0, double arg1)
ofCenter(Vec3i vec, double deltaY)
func_237490_a_(Vector3i arg0, double arg1)
public Vec3
a(dem arg0)
vectorTo(Vec3 arg0)
method_1035(class_243 arg0)
reverseSubtract(Vec3d vec)
func_72444_a(Vector3d arg0)
public Vec3
d()
normalize()
method_1029()
normalize()
func_72432_b()
public double
b(dem arg0)
dot(Vec3 arg0)
method_1026(class_243 arg0)
dotProduct(Vec3d vec)
func_72430_b(Vector3d arg0)
public Vec3
c(dem arg0)
cross(Vec3 arg0)
method_1036(class_243 arg0)
crossProduct(Vec3d vec)
func_72431_c(Vector3d arg0)
public Vec3
d(dem arg0)
subtract(Vec3 arg0)
method_1020(class_243 arg0)
subtract(Vec3d vec)
func_178788_d(Vector3d 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(dem arg0)
add(Vec3 arg0)
method_1019(class_243 arg0)
add(Vec3d vec)
func_178787_e(Vector3d 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 boolean
a(gj arg0, double arg1)
closerThan(Position arg0, double arg1)
method_24802(class_2374 arg0, double arg1)
isInRange(Position pos, double radius)
func_237488_a_(IPosition arg0, double arg1)
public double
f(dem arg0)
distanceTo(Vec3 arg0)
method_1022(class_243 arg0)
distanceTo(Vec3d vec)
func_72438_d(Vector3d arg0)
public double
g(dem arg0)
distanceToSqr(Vec3 arg0)
method_1025(class_243 arg0)
squaredDistanceTo(Vec3d vec)
func_72436_e(Vector3d 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(dem arg0)
multiply(Vec3 arg0)
method_18806(class_243 arg0)
multiply(Vec3d mult)
func_216369_h(Vector3d 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 angle)
func_178789_a(float arg0)
public Vec3
b(float arg0)
yRot(float arg0)
method_1024(float arg0)
rotateY(float angle)
func_178785_b(float arg0)
public Vec3
a(EnumSet<fz$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(fz$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 static Vec3
a(int arg0)
fromRGB24(int arg0)
method_24457(int arg0)
unpackRgb(int rgb)
func_237487_a_(int arg0)
public Vec3
e()
reverse()
method_22882()
negate()
func_216371_e()
public static Vec3
a(del arg0)
directionFromRotation(Vec2 arg0)
method_1034(class_241 arg0)
fromPolar(Vec2f polar)
func_189984_a(Vector2f 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)