Enum Class DialogBase.DialogAfterAction

java.lang.Object
java.lang.Enum<DialogBase.DialogAfterAction>
io.papermc.paper.registry.data.dialog.DialogBase.DialogAfterAction
All Implemented Interfaces:
Serializable, Comparable<DialogBase.DialogAfterAction>, Constable
Enclosing interface:
DialogBase

public static enum DialogBase.DialogAfterAction extends Enum<DialogBase.DialogAfterAction>
Actions to take after the dialog is closed.
Since:
1.21.7
  • Enum Constant Details

    • CLOSE

      public static final DialogBase.DialogAfterAction CLOSE
      Closes the dialog and returns to the previous non-dialog screen (if any).
      Since:
      1.21.7
    • NONE

      public static final DialogBase.DialogAfterAction NONE
      Does nothing (keeps the current screen open).
      Since:
      1.21.7
    • WAIT_FOR_RESPONSE

      public static final DialogBase.DialogAfterAction WAIT_FOR_RESPONSE
      Replaces dialog with a "waiting for response" screen.
      Since:
      1.21.7
  • Field Details

  • Method Details

    • values

      public static DialogBase.DialogAfterAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DialogBase.DialogAfterAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null