Interface DialogInputBuilder

All Known Implementing Classes:
PaperDialogInputBuilder, PEDialogInputBuilder, SpigotDialogInputBuilder

public interface DialogInputBuilder
Interface for building dialog inputs. This interface provides methods to create various types of inputs for a dialog. It includes methods for creating boolean inputs, text inputs, single option inputs, and number range inputs.
  • Method Details

    • booleanInput

      <T extends BooleanInput<T>> T booleanInput()
      Create a boolean input
      Type Parameters:
      T - the type of the boolean input
      Returns:
      a new instance of a boolean input
    • textInput

      <T extends TextInput<T>> T textInput()
      Create a text input
      Type Parameters:
      T - the type of the text input
      Returns:
      a new instance of a text input
    • singleOptionInput

      <T extends SingleOptionInput<T>> T singleOptionInput()
      Create a single option input
      Type Parameters:
      T - the type of the single option input
      Returns:
      a new instance of a single option input
    • numberRangeInput

      <T extends NumberRangeInput<T>> T numberRangeInput()
      Create a number range input
      Type Parameters:
      T - the type of the number range input
      Returns:
      a new instance of a number range input