com.mojang.math

public final class Vector3f

k
com.mojang.math.Vector3f
net.minecraft.class_1160
net.minecraft.util.math.Vec3f
net.minecraft.src.C_4684_
com.mojang.math.Vector3fa

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Vector3f>
a
CODEC
field_28477
CODEC
f_176762_
public static Vector3f
b
XN
field_20702
NEGATIVE_X
f_122222_
public static Vector3f
c
XP
field_20703
POSITIVE_X
f_122223_
public static Vector3f
d
YN
field_20704
NEGATIVE_Y
f_122224_
public static Vector3f
e
YP
field_20705
POSITIVE_Y
f_122225_
public static Vector3f
f
ZN
field_20706
NEGATIVE_Z
f_122226_
public static Vector3f
g
ZP
field_20707
POSITIVE_Z
f_122227_
public static Vector3f
h
ZERO
field_29501
ZERO
f_176763_
private float
i
x
field_21483
x
f_122228_
private float
j
y
field_21484
y
f_122229_
private float
k
z
field_21485
z
f_122230_

Constructor summary

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

Method summary

Modifier and TypeMethod
public float
a()
x()
method_4943()
getX()
m_122239_()
public float
b()
y()
method_4945()
getY()
m_122260_()
public float
c()
z()
method_4947()
getZ()
m_122269_()
public void
a(float arg0)
mul(float arg0)
method_4942(float arg0)
scale(float scale)
m_122261_(float arg0)
public void
a(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)
m_122263_(float p_122265_, float p_122266_, float arg2)
public void
a(k arg0, k arg1)
clamp(Vector3f arg0, Vector3f arg1)
method_35921(class_1160 arg0, class_1160 arg1)
clamp(Vec3f min, Vec3f max)
m_176770_(C_4684_ p_176772_, C_4684_ arg1)
public void
a(float arg0, float arg1)
clamp(float arg0, float arg1)
method_4946(float arg0, float arg1)
clamp(float min, float max)
m_122242_(float p_122244_, float arg1)
public void
b(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)
m_122245_(float p_122247_, float p_122248_, float arg2)
public void
a(k arg0)
load(Vector3f arg0)
method_35920(class_1160 arg0)
set(Vec3f vec)
m_176768_(C_4684_ arg0)
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)
m_122272_(float p_122274_, float p_122275_, float arg2)
public void
b(k arg0)
add(Vector3f arg0)
method_23846(class_1160 arg0)
add(Vec3f vector)
m_122253_(C_4684_ arg0)
public void
c(k arg0)
sub(Vector3f arg0)
method_4944(class_1160 arg0)
subtract(Vec3f other)
m_122267_(C_4684_ arg0)
public float
d(k arg0)
dot(Vector3f arg0)
method_4950(class_1160 arg0)
dot(Vec3f other)
m_122276_(C_4684_ arg0)
public boolean
d()
normalize()
method_4952()
normalize()
m_122278_()
public void
e(k arg0)
cross(Vector3f arg0)
method_4951(class_1160 arg0)
cross(Vec3f vector)
m_122279_(C_4684_ arg0)
public void
a(c arg0)
transform(Matrix3f arg0)
method_23215(class_4581 arg0)
transform(Matrix3f matrix)
m_122249_(C_1_ arg0)
public void
a(g arg0)
transform(Quaternion arg0)
method_19262(class_1158 arg0)
rotate(Quaternion rotation)
m_122251_(C_2889_ arg0)
public void
a(k arg0, float arg1)
lerp(Vector3f arg0, float arg1)
method_23847(class_1160 arg0, float arg1)
lerp(Vec3f vector, float delta)
m_122255_(C_4684_ p_122257_, float arg1)
public Quaternion
b(float arg0)
rotation(float arg0)
method_23626(float arg0)
getRadialQuaternion(float angle)
m_122270_(float arg0)
public Quaternion
c(float arg0)
rotationDegrees(float arg0)
method_23214(float arg0)
getDegreesQuaternion(float angle)
m_122240_(float arg0)
public Vector3f
e()
copy()
method_23850()
copy()
m_122281_()
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)
m_122258_(it.unimi.dsi.fastutil.floats.Float2FloatFunction arg0)