com.mojang.math

public final class Quaternion

g
com.mojang.math.Quaternion
net.minecraft.class_1158
net.minecraft.util.math.Quaternion
net.minecraft.src.C_2889_
com.mojang.math.Quaternion

Field summary

Modifier and TypeField
public static final Quaternion
a
ONE
field_21493
IDENTITY
f_80118_
private float
b
i
field_21582
x
f_80119_
private float
c
j
field_21583
y
f_80120_
private float
d
k
field_21584
z
f_80121_
private float
e
r
field_21585
w
f_80122_

Constructor summary

ModifierConstructor
public (float x, float y, float z, float w)
public (Vector3f axis, float rotationAngle, boolean degrees)
public (float x, float y, float z, boolean degrees)
public (Quaternion other)

Method summary

Modifier and TypeMethod
public static Quaternion
a(float arg0, float arg1, float arg2)
fromYXZ(float arg0, float arg1, float arg2)
method_35821(float arg0, float arg1, float arg2)
fromEulerYxz(float x, float y, float z)
m_175218_(float p_175219_, float p_175220_, float p_175221_)
public static Quaternion
a(k arg0)
fromXYZDegrees(Vector3f arg0)
method_35823(class_1160 arg0)
fromEulerXyzDegrees(Vec3f vector)
m_175225_(C_4684_ p_175226_)
public static Quaternion
b(k arg0)
fromXYZ(Vector3f arg0)
method_35826(class_1160 arg0)
fromEulerXyz(Vec3f vector)
m_175232_(C_4684_ p_175233_)
public static Quaternion
b(float arg0, float arg1, float arg2)
fromXYZ(float arg0, float arg1, float arg2)
method_35825(float arg0, float arg1, float arg2)
fromEulerXyz(float x, float y, float z)
m_175228_(float p_175229_, float p_175230_, float p_175231_)
public Vector3f
a()
toXYZ()
method_35820()
toEulerYxz()
m_175217_()
public Vector3f
b()
toXYZDegrees()
method_35824()
toEulerYxzDegrees()
m_175227_()
public Vector3f
c()
toYXZ()
method_35827()
toEulerXyz()
m_175234_()
public Vector3f
d()
toYXZDegrees()
method_35828()
toEulerXyzDegrees()
m_175235_()
public float
e()
i()
method_4921()
getX()
m_80140_()
public float
f()
j()
method_4922()
getY()
m_80150_()
public float
g()
k()
method_4923()
getZ()
m_80153_()
public float
h()
r()
method_4924()
getW()
m_80156_()
public void
a(g arg0)
mul(Quaternion arg0)
method_4925(class_1158 arg0)
hamiltonProduct(Quaternion other)
m_80148_(C_2889_ arg0)
public void
a(float arg0)
mul(float arg0)
method_22872(float arg0)
scale(float scale)
m_80141_(float arg0)
public void
i()
conj()
method_4926()
conjugate()
m_80157_()
public void
a(float arg0, float arg1, float arg2, float arg3)
set(float arg0, float arg1, float arg2, float arg3)
method_23758(float arg0, float arg1, float arg2, float arg3)
set(float x, float y, float z, float w)
m_80143_(float p_80145_, float p_80146_, float p_80147_, float arg3)
private static float
b(float arg0)
cos(float arg0)
method_16003(float arg0)
cos(float value)
m_80151_(float p_80152_)
private static float
c(float arg0)
sin(float arg0)
method_16002(float arg0)
sin(float value)
m_80154_(float p_80155_)
public void
j()
normalize()
method_22873()
normalize()
m_80160_()
public void
a(g arg0, float arg1)
slerp(Quaternion arg0, float arg1)
method_35822(class_1158 arg0, float arg1)
method_35822(Quaternion arg0, float arg1)
m_175222_(C_2889_ p_175224_, float arg1)
public Quaternion
k()
copy()
method_23695()
copy()
m_80161_()