@minecraft/server-ui
    Preparing search index...

      @minecraft/server-uiBeta

      The @minecraft/server-ui module contains types for expressing simple dialog-based user experiences.

      • ActionFormData contain a list of buttons with captions and images that can be used for presenting a set of options to a player.
      • MessageFormData are simple two-button message experiences that are functional for Yes/No or OK/Cancel questions.
      • ModalFormData allow for a more flexible "questionnaire-style" list of controls that can be used to take input.

      Manifest Details

      {
      "module_name": "@minecraft/server-ui",
      "version": "2.0.0-beta"
      }

      Enumerations

      FormCancelationReason
      FormRejectReason

      Classes

      ActionFormData
      ActionFormResponse
      FormRejectError
      FormResponse
      MessageFormData
      MessageFormResponse
      ModalFormData
      ModalFormResponse
      UIManager

      Interfaces

      ModalFormDataDropdownOptions
      ModalFormDataSliderOptions
      ModalFormDataTextFieldOptions
      ModalFormDataToggleOptions

      Variables

      uiManager