Class EulerAngle

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

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

    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,EulerAngle> 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 Lki;a:Lzt;
    • 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 Lki;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 Lki;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 Lki;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> Lki;<init>(FFF)V
    • EulerAngle

      public EulerAngle(NbtList serialized)
      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> Lki;<init>(Lvd;)V
  • Method Details

    • toNbt

      public NbtList 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 Lki;a()Lvd;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/util/math/EulerAngle;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2379;equals(Ljava/lang/Object;)Z
      official equals Lki;equals(Ljava/lang/Object;)Z
    • 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 Lki;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 Lki;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 Lki;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 Lki;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 Lki;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 Lki;g()F