@minecraft/server-ui / DataDrivenScreenClosedReason
Enumeration: DataDrivenScreenClosedReason
Defined in: @minecraft/server-ui/index.d.ts:39
The reason why a data driven UI screen (MessageBox or CustomForm) was closed.
Enumeration Members
ClientClosed
ClientClosed:
"ClientClosed"
Defined in: @minecraft/server-ui/index.d.ts:47
Remarks
The screen was closed by the client (e.g., the player dismissed it or there was a client authoritative close button).
ServerClosed
ServerClosed:
"ServerClosed"
Defined in: @minecraft/server-ui/index.d.ts:54
Remarks
The screen was closed by the server, likely by the close API.
UserBusy
UserBusy:
"UserBusy"
Defined in: @minecraft/server-ui/index.d.ts:61
Remarks
The screen could not be shown because the player was busy with another UI interaction.