Package net.minecraft.util.math
Class EulerAngle
java.lang.Object
net.minecraft.util.math.EulerAngle
- Mappings:
Namespace Name named net/minecraft/util/math/EulerAngleintermediary net/minecraft/class_2379official ke
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<ByteBuf, EulerAngle> protected final floatprotected final floatprotected final float -
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
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/util/math/EulerAngle;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48452Lnet/minecraft/class_2379;field_48452:Lnet/minecraft/class_9139;official aLke;a:Lyx;
-
pitch
protected final float pitch- Mappings:
Namespace Name Mixin selector named pitchLnet/minecraft/util/math/EulerAngle;pitch:Fintermediary field_11165Lnet/minecraft/class_2379;field_11165:Fofficial bLke;b:F
-
yaw
protected final float yaw- Mappings:
Namespace Name Mixin selector named yawLnet/minecraft/util/math/EulerAngle;yaw:Fintermediary field_11164Lnet/minecraft/class_2379;field_11164:Fofficial cLke;c:F
-
roll
protected final float roll- Mappings:
Namespace Name Mixin selector named rollLnet/minecraft/util/math/EulerAngle;roll:Fintermediary field_11163Lnet/minecraft/class_2379;field_11163:Fofficial dLke;d:F
-
-
Constructor Details
-
EulerAngle
public EulerAngle(float pitch, float yaw, float roll) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/util/math/EulerAngle;<init>(FFF)Vintermediary <init>Lnet/minecraft/class_2379;<init>(FFF)Vofficial <init>Lke;<init>(FFF)V
-
EulerAngle
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/util/math/EulerAngle;<init>(Lnet/minecraft/nbt/NbtList;)Vintermediary <init>Lnet/minecraft/class_2379;<init>(Lnet/minecraft/class_2499;)Vofficial <init>Lke;<init>(Luh;)V
-
-
Method Details
-
toNbt
- Mappings:
Namespace Name Mixin selector named toNbtLnet/minecraft/util/math/EulerAngle;toNbt()Lnet/minecraft/nbt/NbtList;intermediary method_10255Lnet/minecraft/class_2379;method_10255()Lnet/minecraft/class_2499;official aLke;a()Luh;
-
equals
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector named getPitchLnet/minecraft/util/math/EulerAngle;getPitch()Fintermediary method_10256Lnet/minecraft/class_2379;method_10256()Fofficial bLke;b()F
-
getYaw
public float getYaw()- Mappings:
Namespace Name Mixin selector named getYawLnet/minecraft/util/math/EulerAngle;getYaw()Fintermediary method_10257Lnet/minecraft/class_2379;method_10257()Fofficial cLke;c()F
-
getRoll
public float getRoll()- Mappings:
Namespace Name Mixin selector named getRollLnet/minecraft/util/math/EulerAngle;getRoll()Fintermediary method_10258Lnet/minecraft/class_2379;method_10258()Fofficial dLke;d()F
-
getWrappedPitch
public float getWrappedPitch()Returns the pitch that is wrapped to the interval[-180, 180).- Mappings:
Namespace Name Mixin selector named getWrappedPitchLnet/minecraft/util/math/EulerAngle;getWrappedPitch()Fintermediary method_35845Lnet/minecraft/class_2379;method_35845()Fofficial eLke;e()F
-
getWrappedYaw
public float getWrappedYaw()Returns the yaw that is wrapped to the interval[-180, 180).- Mappings:
Namespace Name Mixin selector named getWrappedYawLnet/minecraft/util/math/EulerAngle;getWrappedYaw()Fintermediary method_35846Lnet/minecraft/class_2379;method_35846()Fofficial fLke;f()F
-
getWrappedRoll
public float getWrappedRoll()Returns the roll that is wrapped to the interval[-180, 180).- Mappings:
Namespace Name Mixin selector named getWrappedRollLnet/minecraft/util/math/EulerAngle;getWrappedRoll()Fintermediary method_35847Lnet/minecraft/class_2379;method_35847()Fofficial gLke;g()F
-