@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"
}

Index

Enumerations

Classes

Variables