Preparing search index...
The search index is not available
Script API - v1.21.30
Script API - v1.21.30
@minecraft/server-editor@0.1.0-beta
ObservableValidator
Class ObservableValidator<T>
Abstract
Beta
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
>
Beta
Type Parameters
T
Returns
ObservableValidator
<
T
>
Methods
Abstract
validate
validate
(
newValue
:
T
)
:
T
Beta
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.30
Loading...
Used for validating an observable value before it gets set