com.mojang.math

public final class Vector3f

g
com.mojang.math.Vector3f
net.minecraft.class_1160
net.minecraft.client.util.math.Vector3f
net.minecraft.util.math.vector.Vector3f
net.minecraft.server.v1_16_R1.Vector3fa

Field summary

Modifier and TypeField
public static Vector3f
a
XN
field_20702
NEGATIVE_X
field_229178_a_
public static Vector3f
b
XP
field_20703
POSITIVE_X
field_229179_b_
public static Vector3f
c
YN
field_20704
NEGATIVE_Y
field_229180_c_
public static Vector3f
d
YP
field_20705
POSITIVE_Y
field_229181_d_
public static Vector3f
e
ZN
field_20706
NEGATIVE_Z
field_229182_e_
public static Vector3f
f
ZP
field_20707
POSITIVE_Z
field_229183_f_
private float
g
x
field_21483
x
field_229184_g_
private float
h
y
field_21484
y
field_229185_h_
private float
i
z
field_21485
z
field_229186_i_

Constructor summary

ModifierConstructor
public ()
public (float x, float y, float z)
public (Vec3 other)

Method summary

Modifier and TypeMethod
public float
a()
x()
method_4943()
getX()
func_195899_a()
public float
b()
y()
method_4945()
getY()
func_195900_b()
public float
c()
z()
method_4947()
getZ()
func_195902_c()
public void
a(float arg0, float arg1, float arg2)
set(float arg0, float arg1, float arg2)
method_4949(float arg0, float arg1, float arg2)
set(float x, float y, float z)
func_195905_a(float arg0, float arg1, float arg2)
public void
a(d arg0)
transform(Quaternion arg0)
method_19262(class_1158 arg0)
rotate(Quaternion rotation)
func_214905_a(Quaternion arg0)
public Quaternion
a(float arg0)
rotationDegrees(float arg0)
method_23214(float arg0)
getDegreesQuaternion(float angle)
func_229187_a_(float arg0)
public void
b(float arg0)
mul(float arg0)
method_4942(float arg0)
scale(float scale)
func_195898_a(float arg0)
public void
b(float arg0, float arg1, float arg2)
mul(float arg0, float arg1, float arg2)
method_23849(float arg0, float arg1, float arg2)
multiplyComponentwise(float x, float y, float z)
func_229192_b_(float arg0, float arg1, float arg2)
public void
a(float arg0, float arg1)
clamp(float arg0, float arg1)
method_4946(float arg0, float arg1)
clamp(float min, float max)
func_195901_a(float arg0, float arg1)
public void
c(float arg0, float arg1, float arg2)
add(float arg0, float arg1, float arg2)
method_4948(float arg0, float arg1, float arg2)
add(float x, float y, float z)
func_195904_b(float arg0, float arg1, float arg2)
public void
a(g arg0)
add(Vector3f arg0)
method_23846(class_1160 arg0)
add(Vector3f vector)
func_229189_a_(Vector3f arg0)
public void
b(g arg0)
sub(Vector3f arg0)
method_4944(class_1160 arg0)
subtract(Vector3f other)
func_195897_a(Vector3f arg0)
public float
c(g arg0)
dot(Vector3f arg0)
method_4950(class_1160 arg0)
dot(Vector3f other)
func_195903_b(Vector3f arg0)
public boolean
d()
normalize()
method_4952()
normalize()
func_229194_d_()
public void
d(g arg0)
cross(Vector3f arg0)
method_4951(class_1160 arg0)
cross(Vector3f vector)
func_195896_c(Vector3f arg0)
public void
a(a arg0)
transform(Matrix3f arg0)
method_23215(class_4581 arg0)
transform(Matrix3f arg0)
func_229188_a_(Matrix3f arg0)
public void
a(g arg0, float arg1)
lerp(Vector3f arg0, float arg1)
method_23847(class_1160 arg0, float arg1)
lerp(Vector3f vector, float delta)
func_229190_a_(Vector3f arg0, float arg1)
public Quaternion
c(float arg0)
rotation(float arg0)
method_23626(float arg0)
getRadialQuaternion(float angle)
func_229193_c_(float arg0)
public Vector3f
e()
copy()
method_23850()
copy()
func_229195_e_()
public void
a(it.unimi.dsi.fastutil.floats.Float2FloatFunction arg0)
map(it.unimi.dsi.fastutil.floats.Float2FloatFunction arg0)
method_23848(it.unimi.dsi.fastutil.floats.Float2FloatFunction arg0)
modify(it.unimi.dsi.fastutil.floats.Float2FloatFunction function)
func_229191_a_(it.unimi.dsi.fastutil.floats.Float2FloatFunction arg0)