Script API - v1.21.70
Preparing search index...
@minecraft/server-editor
OnChangeCallback
Type Alias OnChangeCallback<T, Prop>
OnChangeCallback
:
(
obj
:
T
,
property
:
Prop
,
oldValue
:
object
,
newValue
:
object
,
)
=>
void
Callback to execute when a value of a property item is updated.
Type Parameters
T
extends
PropertyBag
Prop
extends
keyof
T
&
string
Type declaration
(
obj
:
T
,
property
:
Prop
,
oldValue
:
object
,
newValue
:
object
)
:
void
Parameters
obj
:
T
property
:
Prop
oldValue
:
object
newValue
:
object
Returns
void
Settings
Member Visibility
External
Inherited
Private
Protected
Deprecated
Theme
OS
Light
Dark
Script API - v1.21.70
Loading...
Callback to execute when a value of a property item is updated.