Interface ConfirmationType

All Superinterfaces:
DialogType

@NonExtendable public non-sealed interface ConfirmationType extends DialogType
Represents a confirmation dialog. This interface defines the structure for a confirmation dialog with "confirm" and "deny" buttons.
Since:
1.21.7
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the button for denying the action.
    Gets the button for confirming the action.
  • Method Details

    • yesButton

      @Contract(pure=true) ActionButton yesButton()
      Gets the button for confirming the action.
      Returns:
      the confirmation button
      Since:
      1.21.7
    • noButton

      @Contract(pure=true) ActionButton noButton()
      Gets the button for denying the action.
      Returns:
      the denial button
      Since:
      1.21.7