SettingsUIElement
¶
文档版本:1.21.0.24
SettingsUIElement
类。script_api.minecraft/server-editor-bindings.settingsuielement.description
属性¶
initialValue
initialValue
:boolean
|float
|string
|Vector3
- script_api.minecraft/server-editor-bindings.settingsuielement.initialvalue.description
max
max
:int32
|undefined
- script_api.minecraft/server-editor-bindings.settingsuielement.max.description
min
min
:int32
|undefined
- script_api.minecraft/server-editor-bindings.settingsuielement.min.description
name
name
:string
- script_api.minecraft/server-editor-bindings.settingsuielement.name.description
onChange
onChange
:(boolean | float | string | Vector3) => boolean
- script_api.minecraft/server-editor-bindings.settingsuielement.onchange.description
options
options
:string[]
|undefined
- script_api.minecraft/server-editor-bindings.settingsuielement.options.description
方法¶
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) => boolean, min?: int32, max?: int32, options?: string[]): 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) => boolean
- script_api.minecraft/server-editor-bindings.settingsuielement.constructor.onchange.description
min
?:int32
=null
- script_api.minecraft/server-editor-bindings.settingsuielement.constructor.min.description
max
?:int32
=null
- script_api.minecraft/server-editor-bindings.settingsuielement.constructor.max.description
options
?:string[]
=null
- script_api.minecraft/server-editor-bindings.settingsuielement.constructor.options.description