MCBE
OverviewPacketsModalFormRequest
ID 0x64 · 100Server → ClientUI

ModalFormRequest

Opens a JSON-defined UI form: simple buttons, modal (OK/cancel) or a custom form with inputs.

modal-form-request.bin
struct ModalFormRequest {
  varuint32                                    FormId;
  string                                       FormJson;
}

Structure

FieldTypeDescription
Form Idvaruint32
Form Jsonstring

Notes

  • The form JSON is varuint32-length-prefixed inside the packet; the client answers with ModalFormResponse.