Interface DialogAction.CustomClickAction

All Superinterfaces:
DialogAction
Enclosing interface:
DialogAction

@NonExtendable public static non-sealed interface DialogAction.CustomClickAction extends DialogAction
Represents an action that executes a custom action with additional data.
Since:
1.21.7
  • Method Details

    • id

      @Contract(pure=true) Key id()
      The identifier of the custom action.
      Returns:
      the identifier
      Since:
      1.21.7
    • additions

      Additional data to be sent with the action. This is a compound binary tag holder that can contain various data related to the action.
      Returns:
      the additional data, or null if not needed
      Since:
      1.21.7