Package net.minecraft.entity.decoration
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$PackedRotationintermediary net/minecraft/class_1531$class_11346official cvf$anamed headintermediary comp_4217official cnamed bodyintermediary comp_4218official dnamed leftArmintermediary comp_4219official enamed rightArmintermediary comp_4220official fnamed leftLegintermediary comp_4221official gnamed rightLegintermediary comp_4222official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EulerAngleThe field for thebodyrecord component.static final com.mojang.serialization.Codec<ArmorStandEntity.PackedRotation> static final ArmorStandEntity.PackedRotationprivate final EulerAngleThe field for theheadrecord component.private final EulerAngleThe field for theleftArmrecord component.private final EulerAngleThe field for theleftLegrecord component.private final EulerAngleThe field for therightArmrecord component.private final EulerAngleThe field for therightLegrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionPackedRotation(EulerAngle eulerAngle, EulerAngle eulerAngle2, EulerAngle eulerAngle3, EulerAngle eulerAngle4, EulerAngle eulerAngle5, EulerAngle eulerAngle6) -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.head()Returns the value of theheadrecord component.leftArm()Returns the value of theleftArmrecord component.leftLeg()Returns the value of theleftLegrecord component.rightArm()Returns the value of therightArmrecord component.rightLeg()Returns the value of therightLegrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
head
The field for theheadrecord component. -
body
The field for thebodyrecord component. -
leftArm
The field for theleftArmrecord component. -
rightArm
The field for therightArmrecord component. -
leftLeg
The field for theleftLegrecord component. -
rightLeg
The field for therightLegrecord component. -
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULTLnet/minecraft/entity/decoration/ArmorStandEntity$PackedRotation;DEFAULT:Lnet/minecraft/entity/decoration/ArmorStandEntity$PackedRotation;intermediary field_60360Lnet/minecraft/class_1531$class_11346;field_60360:Lnet/minecraft/class_1531$class_11346;official aLcvf$a;a:Lcvf$a;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/entity/decoration/ArmorStandEntity$PackedRotation;CODEC:Lcom/mojang/serialization/Codec;intermediary field_60361Lnet/minecraft/class_1531$class_11346;field_60361:Lcom/mojang/serialization/Codec;official bLcvf$a;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
PackedRotation
public PackedRotation(EulerAngle eulerAngle, EulerAngle eulerAngle2, EulerAngle eulerAngle3, EulerAngle eulerAngle4, EulerAngle eulerAngle5, EulerAngle eulerAngle6)
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
head
Returns the value of theheadrecord component.- Returns:
- the value of the
headrecord component
-
body
Returns the value of thebodyrecord component.- Returns:
- the value of the
bodyrecord component
-
leftArm
Returns the value of theleftArmrecord component.- Returns:
- the value of the
leftArmrecord component
-
rightArm
Returns the value of therightArmrecord component.- Returns:
- the value of the
rightArmrecord component
-
leftLeg
Returns the value of theleftLegrecord component.- Returns:
- the value of the
leftLegrecord component
-
rightLeg
Returns the value of therightLegrecord component.- Returns:
- the value of the
rightLegrecord component
-