@minecraft
    正在准备搜索索引...

    类 CustomForm实验性

    A customizable form that lets you put buttons, labels, toggles, dropdowns, sliders, and more into a form! Built on top of Observable, the form will update when the Observables' value changes.

    索引

    构造函数

    方法

    • 返回 void

      Tell the client to close the form. Throws an error if the form is not open.

    • 返回 Promise<boolean>

      Shows the form to the player. Will return false if the client was busy (i.e. in another menu or this one is open). Will throw if the user disconnects.