Record Class BedrockActorAnimation.Visibility
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockActorAnimation.Visibility
- Enclosing class:
BedrockActorAnimation
public static record BedrockActorAnimation.Visibility(boolean specified, List<List<BedrockActorAnimation.PartVisibility>> controllers)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVisibility(boolean specified, List<List<BedrockActorAnimation.PartVisibility>> controllers) Creates an instance of aVisibilityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontrollersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thespecifiedrecord component.final StringtoString()Returns a string representation of this record class.booleanboolean
-
Field Details
-
UNSPECIFIED
-
-
Constructor Details
-
Visibility
Creates an instance of aVisibilityrecord class.- Parameters:
specified- the value for thespecifiedrecord componentcontrollers- the value for thecontrollersrecord component
-
-
Method Details
-
visible
-
visible
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
specified
public boolean specified()Returns the value of thespecifiedrecord component.- Returns:
- the value of the
specifiedrecord component
-
controllers
Returns the value of thecontrollersrecord component.- Returns:
- the value of the
controllersrecord component
-