Record Class BedrockFormScene
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.screen.form.BedrockFormScene
public record BedrockFormScene(NativeUiScene.Node root, BedrockFormScene.Fallback fallback)
extends Record
A bounded, core-resolved scene. Layout never interprets server response indices.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionBedrockFormScene(NativeUiScene.Node root, BedrockFormScene.Fallback fallback) Creates an instance of aBedrockFormScenerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fallback()Returns the value of thefallbackrecord component.static BedrockFormScene.Fallbackfinal inthashCode()Returns a hash code value for this object.static BedrockFormSceneroot()Returns the value of therootrecord component.static Stringfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BedrockFormScene
Creates an instance of aBedrockFormScenerecord class.- Parameters:
root- the value for therootrecord componentfallback- the value for thefallbackrecord component
-
-
Method Details
-
parse
-
fallback
-
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
-
fallback
Returns the value of thefallbackrecord component.- Returns:
- the value of the
fallbackrecord component
-