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$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 Summary
FieldsModifier and TypeFieldDescriptionprivate final EulerAngle
The field for thebody
record component.static final com.mojang.serialization.Codec
<ArmorStandEntity.PackedRotation> static final ArmorStandEntity.PackedRotation
private final EulerAngle
The field for thehead
record component.private final EulerAngle
The field for theleftArm
record component.private final EulerAngle
The field for theleftLeg
record component.private final EulerAngle
The field for therightArm
record component.private final EulerAngle
The field for therightLeg
record 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 thebody
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.head()
Returns the value of thehead
record component.leftArm()
Returns the value of theleftArm
record component.leftLeg()
Returns the value of theleftLeg
record component.rightArm()
Returns the value of therightArm
record component.rightLeg()
Returns the value of therightLeg
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
head
The field for thehead
record component. -
body
The field for thebody
record component. -
leftArm
The field for theleftArm
record component. -
rightArm
The field for therightArm
record component. -
leftLeg
The field for theleftLeg
record component. -
rightLeg
The field for therightLeg
record component. -
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
- 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
-
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 thehead
record component.- Returns:
- the value of the
head
record component
-
body
Returns the value of thebody
record component.- Returns:
- the value of the
body
record component
-
leftArm
Returns the value of theleftArm
record component.- Returns:
- the value of the
leftArm
record component
-
rightArm
Returns the value of therightArm
record component.- Returns:
- the value of the
rightArm
record component
-
leftLeg
Returns the value of theleftLeg
record component.- Returns:
- the value of the
leftLeg
record component
-
rightLeg
Returns the value of therightLeg
record component.- Returns:
- the value of the
rightLeg
record component
-