DataStoreModalToolContainer
¶
文档版本:1.21.60.21
DataStoreModalToolContainer
类。script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.description
属性¶
toolActivationChanged
方法¶
getSelectedTool
script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.getselectedtool.description
- 返回值:
string
|undefined
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.getselectedtool.return
getToolPayload
script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.gettoolpayload.description
id
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.gettoolpayload.id.description
- 返回值:
string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.gettoolpayload.return
getToolProperty
script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.gettoolproperty.description
id
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.gettoolproperty.id.description
property
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.gettoolproperty.property.description
- 返回值:
boolean
|float
|string
|undefined
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.gettoolproperty.return
hasToolPayload
script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.hastoolpayload.description
id
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.hastoolpayload.id.description
- 返回值:
boolean
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.hastoolpayload.return
hasToolProperty
script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.hastoolproperty.description
id
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.hastoolproperty.id.description
property
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.hastoolproperty.property.description
- 返回值:
boolean
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.hastoolproperty.return
registerTool
script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.registertool.description
id
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.registertool.id.description
payload
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.registertool.payload.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.registertool.return
unregisterTool
script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.unregistertool.description
updateRegisteredTool
script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.updateregisteredtool.description
id
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.updateregisteredtool.id.description
payload
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.updateregisteredtool.payload.description
updateRegisteredToolProperty
id
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.updateregisteredtoolproperty.id.description
payload
:string
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.updateregisteredtoolproperty.payload.description
updateSelectedTool
script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.updateselectedtool.description
toolId
?:string
=null
- script_api.minecraft/server-editor-bindings.datastoremodaltoolcontainer.updateselectedtool.toolid.description