Record Class NativeUiScene
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.screen.ui.NativeUiScene
Bounded resolved UI geometry and opaque controller annotations shared by forms and containers.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aNativeUiScenerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static NativeUiSceneroot()Returns the value of therootrecord component.static Stringfinal StringtoString()Returns a string representation of this record class.static voidvalidateVisibleControls(NativeUiScene.Node node, Set<String> renderers)
-
Constructor Details
-
NativeUiScene
Creates an instance of aNativeUiScenerecord class.- Parameters:
root- the value for therootrecord component
-
-
Method Details
-
parse
-
validateVisibleControls
-
string
-
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). -
root
Returns the value of therootrecord component.- Returns:
- the value of the
rootrecord component
-