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 Summary
Modifier and TypeMethodDescription<T extends BooleanInput<T>>
TCreate a boolean input<T extends NumberRangeInput<T>>
TCreate a number range input<T extends SingleOptionInput<T>>
TCreate a single option input<T extends TextInput<T>>
TCreate a text input
-
Method Details
-
booleanInput
Create a boolean input- Type Parameters:
T
- the type of the boolean input- Returns:
- a new instance of a boolean input
-
textInput
Create a text input- Type Parameters:
T
- the type of the text input- Returns:
- a new instance of a text input
-
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
Create a number range input- Type Parameters:
T
- the type of the number range input- Returns:
- a new instance of a number range input
-