Skip to content

@minecraft/server-ui


@minecraft/server-ui / ObservableOptions

Interface: ObservableOptions

Defined in: @minecraft/server-ui/index.d.ts:1722

Configuration options for creating an Observable. Controls how the observable value can be accessed and modified.

Properties

clientWritable

clientWritable: boolean

Defined in: @minecraft/server-ui/index.d.ts:1730

Remarks

When true, allows the client to write to this observable's value directly, enabling two-way data binding between the UI and the observable.