Interface AdventureBooleanInput<T extends AdventureBooleanInput<T>>
- Type Parameters:
T
- the type of the input, for method chaining
- All Superinterfaces:
AdventureSupport
,BooleanInput<T>
- All Known Implementing Classes:
PaperBooleanInput
,PEBooleanInput
public interface AdventureBooleanInput<T extends AdventureBooleanInput<T>>
extends BooleanInput<T>, AdventureSupport
An extension of
BooleanInput
that provides additional methods for handling Component
labels.-
Method Summary
Methods inherited from interface io.github.projectunified.unidialog.adventure.support.AdventureSupport
deserialize, getComponentDeserializer
Methods inherited from interface io.github.projectunified.unidialog.core.input.BooleanInput
initial, onFalse, onTrue
-
Method Details
-
label
Set the label for the input.- Parameters:
label
- the label to display for the input- Returns:
- the current instance for method chaining
-
label
Description copied from interface:BooleanInput
Set the label for the input.- Specified by:
label
in interfaceBooleanInput<T extends AdventureBooleanInput<T>>
- Parameters:
label
- the label to display for the input- Returns:
- the current instance for method chaining
-