Record Class ArmorStandEntity.PackedRotation

java.lang.Object
java.lang.Record
net.minecraft.entity.decoration.ArmorStandEntity.PackedRotation
Record Components:
head -
body -
leftArm -
rightArm -
leftLeg -
rightLeg -
Enclosing class:
ArmorStandEntity

public static record ArmorStandEntity.PackedRotation(EulerAngle head, EulerAngle body, EulerAngle leftArm, EulerAngle rightArm, EulerAngle leftLeg, EulerAngle rightLeg) extends Record
Mappings:
Namespace Name
named net/minecraft/entity/decoration/ArmorStandEntity$PackedRotation
intermediary net/minecraft/class_1531$class_11346
official cqo$a
named head
intermediary comp_4217
official c
named body
intermediary comp_4218
official d
named leftArm
intermediary comp_4219
official e
named rightArm
intermediary comp_4220
official f
named leftLeg
intermediary comp_4221
official g
named rightLeg
intermediary comp_4222
official h
  • Field Details

    • body

      private final EulerAngle body
      The field for the body record component.
    • leftArm

      private final EulerAngle leftArm
      The field for the leftArm record component.
    • rightArm

      private final EulerAngle rightArm
      The field for the rightArm record component.
    • leftLeg

      private final EulerAngle leftLeg
      The field for the leftLeg record component.
    • rightLeg

      private final EulerAngle rightLeg
      The field for the rightLeg record component.
    • DEFAULT

      public static final ArmorStandEntity.PackedRotation DEFAULT
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT Lnet/minecraft/entity/decoration/ArmorStandEntity$PackedRotation;DEFAULT:Lnet/minecraft/entity/decoration/ArmorStandEntity$PackedRotation;
      intermediary field_60360 Lnet/minecraft/class_1531$class_11346;field_60360:Lnet/minecraft/class_1531$class_11346;
      official a Lcqo$a;a:Lcqo$a;
    • CODEC

      public static final com.mojang.serialization.Codec<ArmorStandEntity.PackedRotation> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/decoration/ArmorStandEntity$PackedRotation;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_60361 Lnet/minecraft/class_1531$class_11346;field_60361:Lcom/mojang/serialization/Codec;
      official b Lcqo$a;b:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • head

      public EulerAngle head()
      Returns the value of the head record component.
      Returns:
      the value of the head record component
    • body

      public EulerAngle body()
      Returns the value of the body record component.
      Returns:
      the value of the body record component
    • leftArm

      public EulerAngle leftArm()
      Returns the value of the leftArm record component.
      Returns:
      the value of the leftArm record component
    • rightArm

      public EulerAngle rightArm()
      Returns the value of the rightArm record component.
      Returns:
      the value of the rightArm record component
    • leftLeg

      public EulerAngle leftLeg()
      Returns the value of the leftLeg record component.
      Returns:
      the value of the leftLeg record component
    • rightLeg

      public EulerAngle rightLeg()
      Returns the value of the rightLeg record component.
      Returns:
      the value of the rightLeg record component