SettingsUIElement
¶
文档版本:1.21.60.21
SettingsUIElement
类。script_api.minecraft/server-editor-bindings.settingsuielement.description
属性¶
initialValue
initialValue
:boolean
|float
|string
|Vector3
- script_api.minecraft/server-editor-bindings.settingsuielement.initialvalue.description
name
name
:string
- script_api.minecraft/server-editor-bindings.settingsuielement.name.description
onChange
onChange
:(boolean | float | string | Vector3) => void
- script_api.minecraft/server-editor-bindings.settingsuielement.onchange.description
options
方法¶
constructor
script_api.minecraft/server-editor-bindings.settingsuielement.constructor.description
new constructor(name: string, initialValue: boolean | float | string | Vector3, onChange: (arg: boolean | float | string | Vector3) => void, options?: SettingsUIElementOptions): SettingsUIElement
name
:string
- script_api.minecraft/server-editor-bindings.settingsuielement.constructor.name.description
initialValue
:boolean
|float
|string
|Vector3
- script_api.minecraft/server-editor-bindings.settingsuielement.constructor.initialvalue.description
onChange
:(boolean | float | string | Vector3) => void
- script_api.minecraft/server-editor-bindings.settingsuielement.constructor.onchange.description