跳转至

SpeedSettings

文档版本:1.21.60.21

SpeedSettings类。script_api.minecraft/server-editor-bindings.speedsettings.description

方法

get

script_api.minecraft/server-editor-bindings.speedsettings.get.description

get(property: SpeedSettingsProperty): float | undefined
getAll

script_api.minecraft/server-editor-bindings.speedsettings.getall.description

getAll(): Record<string, float>
返回值:Record<string, float>
script_api.minecraft/server-editor-bindings.speedsettings.getall.return
set

script_api.minecraft/server-editor-bindings.speedsettings.set.description

set(property: SpeedSettingsProperty, value: float): void
setAll

script_api.minecraft/server-editor-bindings.speedsettings.setall.description

setAll(properties: Record<string, float>): void