DataTransferManager
¶
文档版本:1.21.60.21
DataTransferManager
类。script_api.minecraft/server-editor-bindings.datatransfermanager.description
方法¶
getRegisteredAccessors
script_api.minecraft/server-editor-bindings.datatransfermanager.getregisteredaccessors.description
requestData
script_api.minecraft/server-editor-bindings.datatransfermanager.requestdata.description
collectionUniqueId
:string
- script_api.minecraft/server-editor-bindings.datatransfermanager.requestdata.collectionuniqueid.description
- 返回值:
Promise<DataTransferRequestResponse>
- script_api.minecraft/server-editor-bindings.datatransfermanager.requestdata.return
sendData
script_api.minecraft/server-editor-bindings.datatransfermanager.senddata.description
collectionUniqueId
:string
- script_api.minecraft/server-editor-bindings.datatransfermanager.senddata.collectionuniqueid.description
jsonData
:string
- script_api.minecraft/server-editor-bindings.datatransfermanager.senddata.jsondata.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.datatransfermanager.senddata.return
sendDataToClipboard
script_api.minecraft/server-editor-bindings.datatransfermanager.senddatatoclipboard.description
jsonData
:string
- script_api.minecraft/server-editor-bindings.datatransfermanager.senddatatoclipboard.jsondata.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.datatransfermanager.senddatatoclipboard.return