Class EulerAngle

java.lang.Object
net.minecraft.util.math.EulerAngle

public class EulerAngle extends Object
Mappings:
Namespace Name
official hr
intermediary net/minecraft/class_2379
named net/minecraft/util/math/EulerAngle
  • Field Details

    • pitch

      protected final float pitch
      Mappings:
      Namespace Name Mixin selector
      official a Lhr;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 Lhr;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 Lhr;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> Lhr;<init>(FFF)V
      intermediary <init> Lnet/minecraft/class_2379;<init>(FFF)V
      named <init> Lnet/minecraft/util/math/EulerAngle;<init>(FFF)V
    • EulerAngle

      public EulerAngle(NbtList serialized)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhr;<init>(Lqv;)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

      public NbtList toNbt()
      Mappings:
      Namespace Name Mixin selector
      official a Lhr;a()Lqv;
      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lhr;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2379;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/util/math/EulerAngle;equals(Ljava/lang/Object;)Z
    • getPitch

      public float getPitch()
      Mappings:
      Namespace Name Mixin selector
      official b Lhr;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 Lhr;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 Lhr;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 Lhr;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 Lhr;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 Lhr;g()F
      intermediary method_35847 Lnet/minecraft/class_2379;method_35847()F
      named getWrappedRoll Lnet/minecraft/util/math/EulerAngle;getWrappedRoll()F