Script API - v1.21.130.26
Preparing search index...
@minecraft/server-editor
ModalDialogActivationParams
Type Alias ModalDialogActivationParams<T>
ModalDialogActivationParams
:
{
dialogId
:
T
;
onResponse
?:
(
payload
:
|
(
T
extends
CoreModalDialogType
?
ModalDialogCoreResponseType
[
T
]
:
ModalDialogCustomResponse
)
|
ModalDialogDismissResponse
,
)
=>
void
;
}
&
(
T
extends
CoreModalDialogType
?
{
data
:
ModalDialogRequestData
[
T
]
}
:
{
data
?:
never
}
)
Parameters required to activate a modal dialog instance
Type Parameters
T
extends
CoreModalDialogType
|
string
Settings
Member Visibility
External
Inherited
Private
Protected
Deprecated
Beta
Write Privilege
World Ready
Theme
OS
Light
Dark
Script API - v1.21.130.26
Loading...
Parameters required to activate a modal dialog instance