Class PaperDialogInputBuilder
java.lang.Object
io.github.projectunified.unidialog.paper.input.PaperDialogInput
io.github.projectunified.unidialog.paper.input.PaperDialogInputBuilder
- All Implemented Interfaces:
AdventureSupport,DialogInputBuilder
-
Field Summary
Fields inherited from class io.github.projectunified.unidialog.paper.input.PaperDialogInput
key -
Constructor Summary
ConstructorsConstructorDescriptionPaperDialogInputBuilder(String key, Function<String, net.kyori.adventure.text.Component> componentDeserializer) -
Method Summary
Modifier and TypeMethodDescriptionCreate a boolean inputio.papermc.paper.registry.data.dialog.input.DialogInputCreate a number range inputCreate a single option inputCreate a text inputMethods inherited from class io.github.projectunified.unidialog.paper.input.PaperDialogInput
getComponentDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.projectunified.unidialog.adventure.support.AdventureSupport
deserialize
-
Constructor Details
-
PaperDialogInputBuilder
-
-
Method Details
-
booleanInput
Description copied from interface:DialogInputBuilderCreate a boolean input- Specified by:
booleanInputin interfaceDialogInputBuilder- Returns:
- a new instance of a boolean input
-
textInput
Description copied from interface:DialogInputBuilderCreate a text input- Specified by:
textInputin interfaceDialogInputBuilder- Returns:
- a new instance of a text input
-
singleOptionInput
Description copied from interface:DialogInputBuilderCreate a single option input- Specified by:
singleOptionInputin interfaceDialogInputBuilder- Returns:
- a new instance of a single option input
-
numberRangeInput
Description copied from interface:DialogInputBuilderCreate a number range input- Specified by:
numberRangeInputin interfaceDialogInputBuilder- Returns:
- a new instance of a number range input
-
getDialogInput
public io.papermc.paper.registry.data.dialog.input.DialogInput getDialogInput()- Specified by:
getDialogInputin classPaperDialogInput
-