跳转至

DataTransferManager

文档版本:1.21.60.21

DataTransferManager类。script_api.minecraft/server-editor-bindings.datatransfermanager.description

方法

getRegisteredAccessors

script_api.minecraft/server-editor-bindings.datatransfermanager.getregisteredaccessors.description

getRegisteredAccessors(): DataTransferCollectionNameData[]
requestData

script_api.minecraft/server-editor-bindings.datatransfermanager.requestdata.description

requestData(collectionUniqueId: string): Promise<DataTransferRequestResponse>
sendData

script_api.minecraft/server-editor-bindings.datatransfermanager.senddata.description

sendData(collectionUniqueId: string, jsonData: string): void
sendDataToClipboard

script_api.minecraft/server-editor-bindings.datatransfermanager.senddatatoclipboard.description

sendDataToClipboard(jsonData: string): void