Interface AdventureTextInput<T extends AdventureTextInput<T>>
- Type Parameters:
T
- the type of the input, for method chaining
- All Superinterfaces:
AdventureSupport
,TextInput<T>
- All Known Implementing Classes:
PaperTextInput
,PETextInput
public interface AdventureTextInput<T extends AdventureTextInput<T>>
extends TextInput<T>, AdventureSupport
An extension of
TextInput
that provides additional methods for handling Component
labels.-
Field Summary
Fields inherited from interface io.github.projectunified.unidialog.core.input.TextInput
DEFAULT_MAX_LENGTH, DEFAULT_WIDTH
-
Method Summary
Methods inherited from interface io.github.projectunified.unidialog.adventure.support.AdventureSupport
deserialize, getComponentDeserializer
-
Method Details
-
label
Set the label for the input- Parameters:
label
- the label text- Returns:
- the current instance for method chaining
-
label
Description copied from interface:TextInput
Set the label for the input- Specified by:
label
in interfaceTextInput<T extends AdventureTextInput<T>>
- Parameters:
label
- the label text- Returns:
- the current instance for method chaining
-