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