Record Class BedrockGuiActorAppearance.Frame
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockGuiActorAppearance.Frame
- Enclosing class:
BedrockGuiActorAppearance
public static record BedrockGuiActorAppearance.Frame(BedrockPlayerControllers.Selection draws, Map<String, BedrockBoneAnimation.Transform> pose, BedrockActorAnimation.Visibility visibility, BedrockBoneAnimation.Vector scale)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFrame(BedrockPlayerControllers.Selection draws, Map<String, BedrockBoneAnimation.Transform> pose, BedrockActorAnimation.Visibility visibility, BedrockBoneAnimation.Vector scale) Creates an instance of aFramerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondraws()Returns the value of thedrawsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pose()Returns the value of theposerecord component.scale()Returns the value of thescalerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevisibilityrecord component.
-
Constructor Details
-
Frame
public Frame(BedrockPlayerControllers.Selection draws, Map<String, BedrockBoneAnimation.Transform> pose, BedrockActorAnimation.Visibility visibility, BedrockBoneAnimation.Vector scale) Creates an instance of aFramerecord class.- Parameters:
draws- the value for thedrawsrecord componentpose- the value for theposerecord componentvisibility- the value for thevisibilityrecord componentscale- the value for thescalerecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
draws
Returns the value of thedrawsrecord component.- Returns:
- the value of the
drawsrecord component
-
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-
visibility
Returns the value of thevisibilityrecord component.- Returns:
- the value of the
visibilityrecord component
-
scale
Returns the value of thescalerecord component.- Returns:
- the value of the
scalerecord component
-