@minecraft/server-editor
Preparing search index...
OnChangeCallback
Type Alias OnChangeCallback<T, Prop>
Beta
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
Protected
Inherited
External
World Mutation
Early Execution
Theme
OS
Light
Dark
@minecraft/server-editor
Loading...
Callback to execute when a value of a property item is updated.