Preparing search index...
The search index is not available
Script API - v1.21.50
Script API - v1.21.50
@minecraft/server-editor
ObservableValidator
Class ObservableValidator<T>
Abstract
Used for validating an observable value before it gets set
Type Parameters
T
Implemented by
BlockIdentifierObservableValidator
EntityIdentifierObservableValidator
NumberLimitObservableValidator
Vector3LimitObservableValidator
Index
Constructors
constructor
Methods
validate
Constructors
constructor
new
ObservableValidator
<
T
>
()
:
ObservableValidator
<
T
>
Type Parameters
T
Returns
ObservableValidator
<
T
>
Methods
Abstract
validate
validate
(
newValue
:
T
)
:
T
Parameters
newValue
:
T
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
validate
Script API - v1.21.50
Loading...
Used for validating an observable value before it gets set