MessageFormData
¶
文档版本:1.21.60.21
MessageFormData
类。script_api.minecraft/server-ui.messageformdata.description
方法¶
body
script_api.minecraft/server-ui.messageformdata.body.description
bodyText
:RawMessage
|string
- script_api.minecraft/server-ui.messageformdata.body.bodytext.description
- 返回值:
MessageFormData
- script_api.minecraft/server-ui.messageformdata.body.return
button1
script_api.minecraft/server-ui.messageformdata.button1.description
text
:RawMessage
|string
- script_api.minecraft/server-ui.messageformdata.button1.text.description
button2
script_api.minecraft/server-ui.messageformdata.button2.description
text
:RawMessage
|string
- script_api.minecraft/server-ui.messageformdata.button2.text.description
constructor
script_api.minecraft/server-ui.messageformdata.constructor.description
show
script_api.minecraft/server-ui.messageformdata.show.description
player
:Player
- script_api.minecraft/server-ui.messageformdata.show.player.description
- 返回值:
Promise<MessageFormResponse>
- script_api.minecraft/server-ui.messageformdata.show.return
title
script_api.minecraft/server-ui.messageformdata.title.description
titleText
:RawMessage
|string
- script_api.minecraft/server-ui.messageformdata.title.titletext.description
- 返回值:
MessageFormData
- script_api.minecraft/server-ui.messageformdata.title.return