@minecraft/server-editor
    Preparing search index...

    Function makeObservable

    • Beta

      Type Parameters

      • T

      Parameters

      • initialValue: T

        Initial value of the observable.

      • Optionalvalidator: ObservableValidator<T>

        Optional validator to use for the setter.

      Returns IObservable<T>

      Creates an observable object that stores a value state.