Package net.minecraft.util.math
Class EulerAngle
java.lang.Object
net.minecraft.util.math.EulerAngle
- Mappings:
Namespace Name official hwintermediary net/minecraft/class_2379named net/minecraft/util/math/EulerAngle
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEulerAngle(float pitch, float yaw, float roll) EulerAngle(NbtList serialized) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatgetPitch()floatgetRoll()floatReturns the pitch that is wrapped to the interval[-180, 180).floatReturns the roll that is wrapped to the interval[-180, 180).floatReturns the yaw that is wrapped to the interval[-180, 180).floatgetYaw()toNbt()
-
Field Details
-
pitch
protected final float pitch- Mappings:
Namespace Name Mixin selector official aLhw;a:Fintermediary field_11165Lnet/minecraft/class_2379;field_11165:Fnamed pitchLnet/minecraft/util/math/EulerAngle;pitch:F
-
yaw
protected final float yaw- Mappings:
Namespace Name Mixin selector official bLhw;b:Fintermediary field_11164Lnet/minecraft/class_2379;field_11164:Fnamed yawLnet/minecraft/util/math/EulerAngle;yaw:F
-
roll
protected final float roll- Mappings:
Namespace Name Mixin selector official cLhw;c:Fintermediary field_11163Lnet/minecraft/class_2379;field_11163:Fnamed rollLnet/minecraft/util/math/EulerAngle;roll:F
-
-
Constructor Details
-
EulerAngle
public EulerAngle(float pitch, float yaw, float roll) - Mappings:
Namespace Name Mixin selector official <init>Lhw;<init>(FFF)Vintermediary <init>Lnet/minecraft/class_2379;<init>(FFF)Vnamed <init>Lnet/minecraft/util/math/EulerAngle;<init>(FFF)V
-
EulerAngle
- Mappings:
Namespace Name Mixin selector official <init>Lhw;<init>(Lqx;)Vintermediary <init>Lnet/minecraft/class_2379;<init>(Lnet/minecraft/class_2499;)Vnamed <init>Lnet/minecraft/util/math/EulerAngle;<init>(Lnet/minecraft/nbt/NbtList;)V
-
-
Method Details
-
toNbt
- Mappings:
Namespace Name Mixin selector official aLhw;a()Lqx;intermediary method_10255Lnet/minecraft/class_2379;method_10255()Lnet/minecraft/class_2499;named toNbtLnet/minecraft/util/math/EulerAngle;toNbt()Lnet/minecraft/nbt/NbtList;
-
equals
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector official bLhw;b()Fintermediary method_10256Lnet/minecraft/class_2379;method_10256()Fnamed getPitchLnet/minecraft/util/math/EulerAngle;getPitch()F
-
getYaw
public float getYaw()- Mappings:
Namespace Name Mixin selector official cLhw;c()Fintermediary method_10257Lnet/minecraft/class_2379;method_10257()Fnamed getYawLnet/minecraft/util/math/EulerAngle;getYaw()F
-
getRoll
public float getRoll()- Mappings:
Namespace Name Mixin selector official dLhw;d()Fintermediary method_10258Lnet/minecraft/class_2379;method_10258()Fnamed getRollLnet/minecraft/util/math/EulerAngle;getRoll()F
-
getWrappedPitch
public float getWrappedPitch()Returns the pitch that is wrapped to the interval[-180, 180).- Mappings:
Namespace Name Mixin selector official eLhw;e()Fintermediary method_35845Lnet/minecraft/class_2379;method_35845()Fnamed getWrappedPitchLnet/minecraft/util/math/EulerAngle;getWrappedPitch()F
-
getWrappedYaw
public float getWrappedYaw()Returns the yaw that is wrapped to the interval[-180, 180).- Mappings:
Namespace Name Mixin selector official fLhw;f()Fintermediary method_35846Lnet/minecraft/class_2379;method_35846()Fnamed getWrappedYawLnet/minecraft/util/math/EulerAngle;getWrappedYaw()F
-
getWrappedRoll
public float getWrappedRoll()Returns the roll that is wrapped to the interval[-180, 180).- Mappings:
Namespace Name Mixin selector official gLhw;g()Fintermediary method_35847Lnet/minecraft/class_2379;method_35847()Fnamed getWrappedRollLnet/minecraft/util/math/EulerAngle;getWrappedRoll()F
-