openScreen

open fun openScreen(namespace: String, scope: String): Boolean

Opens a Screen based on the provided scope. The default method simply opens the screen. You may want to reimplement this to, for example, pass the previous screen into the newly created screen so it can go back to that screen when it closes.

Return

true if a screen was successfully opened, false otherwise

Author

fzzyhmstrs

Since

0.7.0

Parameters

namespace

The string id used to register this provider; usually the mod id. Provided for verification.

scope

String scope requesting to be opened. This will generally be something like "mod_id.config_name" See the wiki for an overview of scope