Package net.minecraft.util.math
Class EulerAngle
java.lang.Object
net.minecraft.util.math.EulerAngle
- Mappings:
Namespace Name official gy
intermediary net/minecraft/class_2379
named net/minecraft/util/math/EulerAngle
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEulerAngle
(float pitch, float yaw, float roll) EulerAngle
(NbtList serialized) -
Method Summary
Modifier and TypeMethodDescriptionboolean
float
getPitch()
float
getRoll()
float
Returns the pitch that is wrapped to the interval[-180, 180)
.float
Returns the roll that is wrapped to the interval[-180, 180)
.float
Returns the yaw that is wrapped to the interval[-180, 180)
.float
getYaw()
toNbt()
-
Field Details
-
pitch
protected final float pitch- Mappings:
Namespace Name Mixin selector official a
Lgy;a:F
intermediary field_11165
Lnet/minecraft/class_2379;field_11165:F
named pitch
Lnet/minecraft/util/math/EulerAngle;pitch:F
-
yaw
protected final float yaw- Mappings:
Namespace Name Mixin selector official b
Lgy;b:F
intermediary field_11164
Lnet/minecraft/class_2379;field_11164:F
named yaw
Lnet/minecraft/util/math/EulerAngle;yaw:F
-
roll
protected final float roll- Mappings:
Namespace Name Mixin selector official c
Lgy;c:F
intermediary field_11163
Lnet/minecraft/class_2379;field_11163:F
named roll
Lnet/minecraft/util/math/EulerAngle;roll:F
-
-
Constructor Details
-
EulerAngle
public EulerAngle(float pitch, float yaw, float roll) - Mappings:
Namespace Name Mixin selector official <init>
Lgy;<init>(FFF)V
intermediary <init>
Lnet/minecraft/class_2379;<init>(FFF)V
named <init>
Lnet/minecraft/util/math/EulerAngle;<init>(FFF)V
-
EulerAngle
- Mappings:
Namespace Name Mixin selector official <init>
Lgy;<init>(Lng;)V
intermediary <init>
Lnet/minecraft/class_2379;<init>(Lnet/minecraft/class_2499;)V
named <init>
Lnet/minecraft/util/math/EulerAngle;<init>(Lnet/minecraft/nbt/NbtList;)V
-
-
Method Details
-
toNbt
- Mappings:
Namespace Name Mixin selector official a
Lgy;a()Lng;
intermediary method_10255
Lnet/minecraft/class_2379;method_10255()Lnet/minecraft/class_2499;
named toNbt
Lnet/minecraft/util/math/EulerAngle;toNbt()Lnet/minecraft/nbt/NbtList;
-
equals
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector official b
Lgy;b()F
intermediary method_10256
Lnet/minecraft/class_2379;method_10256()F
named getPitch
Lnet/minecraft/util/math/EulerAngle;getPitch()F
-
getYaw
public float getYaw()- Mappings:
Namespace Name Mixin selector official c
Lgy;c()F
intermediary method_10257
Lnet/minecraft/class_2379;method_10257()F
named getYaw
Lnet/minecraft/util/math/EulerAngle;getYaw()F
-
getRoll
public float getRoll()- Mappings:
Namespace Name Mixin selector official d
Lgy;d()F
intermediary method_10258
Lnet/minecraft/class_2379;method_10258()F
named getRoll
Lnet/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 e
Lgy;e()F
intermediary method_35845
Lnet/minecraft/class_2379;method_35845()F
named getWrappedPitch
Lnet/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 f
Lgy;f()F
intermediary method_35846
Lnet/minecraft/class_2379;method_35846()F
named getWrappedYaw
Lnet/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 g
Lgy;g()F
intermediary method_35847
Lnet/minecraft/class_2379;method_35847()F
named getWrappedRoll
Lnet/minecraft/util/math/EulerAngle;getWrappedRoll()F
-