Preparing search index...
The search index is not available
Script API - v1.21.23
Script API - v1.21.23
@minecraft/server-editor@0.1.0-beta
ThemeSettings
Class ThemeSettings
Beta
Index
Methods
get
Theme
List
resolve
Color
Key
set
Current
Theme
Methods
get
Theme
List
getThemeList
()
:
string
[]
Beta
Returns
string
[]
resolve
Color
Key
resolveColorKey
(
key
:
ThemeSettingsColorKey
)
:
RGBA
Beta
Parameters
key
:
ThemeSettingsColorKey
Returns
RGBA
set
Current
Theme
setCurrentTheme
(
name
:
string
)
:
void
Beta
Parameters
name
:
string
Returns
void
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
Error
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Theme
List
resolve
Color
Key
set
Current
Theme
Script API - v1.21.23
Loading...
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
Error