Record Class Animation.TransformationEntry
java.lang.Object
java.lang.Record
net.minecraft.client.render.entity.animation.Animation.TransformationEntry
- Record Components:
part
-target
-keyframes
-
- Enclosing class:
Animation
@Environment(CLIENT)
private static record Animation.TransformationEntry(ModelPart part, Transformation.Target target, Keyframe[] keyframes)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/entity/animation/Animation$TransformationEntry
intermediary net/minecraft/class_11509$class_11510
official fut$a
named part
intermediary comp_4387
official a
named target
intermediary comp_4388
official b
named keyframes
intermediary comp_4389
official c
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTransformationEntry
(ModelPart modelPart, Transformation.Target target, Keyframe[] keyframe) -
Method Summary
Modifier and TypeMethodDescriptionvoid
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Keyframe[]
Returns the value of thekeyframes
record component.part()
Returns the value of thepart
record component.target()
Returns the value of thetarget
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
TransformationEntry
TransformationEntry(ModelPart modelPart, Transformation.Target target, Keyframe[] keyframe)
-
-
Method Details
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/client/render/entity/animation/Animation$TransformationEntry;apply(FFLorg/joml/Vector3f;)V
intermediary method_71988
Lnet/minecraft/class_11509$class_11510;method_71988(FFLorg/joml/Vector3f;)V
official a
Lfut$a;a(FFLorg/joml/Vector3f;)V
-
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)
. -
part
Returns the value of thepart
record component.- Returns:
- the value of the
part
record component
-
target
Returns the value of thetarget
record component.- Returns:
- the value of the
target
record component
-
keyframes
Returns the value of thekeyframes
record component.- Returns:
- the value of the
keyframes
record component
-