Record Class BedrockActorAnimation.Frame
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockActorAnimation.Frame
- Enclosing class:
BedrockActorAnimation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparentSetuprecord component.queries()Returns the value of thequeriesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevariablesrecord component.
-
Constructor Details
-
Frame
-
Frame
-
Frame
public Frame(Map<String, Object> queries, Map<String, Float> variables, Map<String, Object> context, List<BedrockActorAnimation.ParentSetup> parentSetup) Creates an instance of aFramerecord class.- Parameters:
queries- the value for thequeriesrecord componentvariables- the value for thevariablesrecord componentcontext- the value for thecontextrecord componentparentSetup- the value for theparentSetuprecord component
-
-
Method Details
-
withParentSetup
-
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). -
queries
-
variables
-
context
-
parentSetup
Returns the value of theparentSetuprecord component.- Returns:
- the value of the
parentSetuprecord component
-