Interface DialogPresenter

All Known Implementing Classes:
PaperDialogPresenter

@Internal public interface DialogPresenter
Boundary between the backend's lifecycle and Paper's server-owned registry.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dismiss(org.bukkit.entity.Player viewer)
    Dismisses the viewer's currently showing dialog.
    void
    show(org.bukkit.entity.Player viewer, DialogModel model, DialogTicket ticket)
    Shows the model, retaining only the invalidatable ticket in button callbacks.
  • Method Details

    • show

      void show(org.bukkit.entity.Player viewer, DialogModel model, DialogTicket ticket)
      Shows the model, retaining only the invalidatable ticket in button callbacks.
    • dismiss

      void dismiss(org.bukkit.entity.Player viewer)
      Dismisses the viewer's currently showing dialog.