@minecraft/server-editor
Preparing search index...
ObservableValidator
Class ObservableValidator<T>
Abstract
Beta
Used for validating an observable value before it gets set
Type Parameters
T
Implemented by
BlockIdentifierListObservableValidator
BlockIdentifierObservableValidator
EntityIdentifierObservableValidator
NumberLimitObservableValidator
Vector3LimitObservableValidator
Index
Constructors
constructor
Methods
validate
Constructors
constructor
new
ObservableValidator
<
T
>
()
:
ObservableValidator
<
T
>
Beta
Type Parameters
T
Returns
ObservableValidator
<
T
>
Methods
Abstract
validate
validate
(
newValue
:
T
)
:
undefined
|
T
Beta
Parameters
newValue
:
T
Returns
undefined
|
T
Settings
Member Visibility
Protected
Inherited
External
World Mutation
Early Execution
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
validate
@minecraft/server-editor
Loading...
Used for validating an observable value before it gets set