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 - kj
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final PacketCodec<ByteBuf, EulerAngle> protected final floatprotected final floatprotected final float
- 
Constructor SummaryConstructorsConstructorDescriptionEulerAngle(float pitch, float yaw, float roll) EulerAngle(NbtList serialized) 
- 
Method SummaryModifier 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_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- Lkj;a:Lyn;
 
- 
pitchprotected 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- Lkj;b:F
 
- 
yawprotected 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- Lkj;c:F
 
- 
rollprotected 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- Lkj;d:F
 
 
- 
- 
Constructor Details- 
EulerAnglepublic 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>- Lkj;<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>- Lkj;<init>(Ltw;)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- Lkj;a()Ltw;
 
- 
equals
- 
getPitchpublic 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- Lkj;b()F
 
- 
getYawpublic 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- Lkj;c()F
 
- 
getRollpublic 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- Lkj;d()F
 
- 
getWrappedPitchpublic 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- Lkj;e()F
 
- 
getWrappedYawpublic 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- Lkj;f()F
 
- 
getWrappedRollpublic 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- Lkj;g()F
 
 
-