Class PEDialogInputBuilder
java.lang.Object
io.github.projectunified.unidialog.packetevents.input.PEDialogInput
io.github.projectunified.unidialog.packetevents.input.PEDialogInputBuilder
- All Implemented Interfaces:
AdventureSupport,DialogInputBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionPEDialogInputBuilder(Function<String, net.kyori.adventure.text.Component> componentDeserializer) -
Method Summary
Modifier and TypeMethodDescriptionCreate a boolean inputcom.github.retrooper.packetevents.protocol.dialog.input.InputControlgetInput()Create a number range inputCreate a single option inputCreate a text inputMethods inherited from class io.github.projectunified.unidialog.packetevents.input.PEDialogInput
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
-
PEDialogInputBuilder
-
-
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
-
getInput
public com.github.retrooper.packetevents.protocol.dialog.input.InputControl getInput()- Specified by:
getInputin classPEDialogInput
-