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.InputControl
getInput()
Create a number range inputCreate a single option inputCreate a text inputMethods inherited from class io.github.projectunified.unidialog.packetevents.input.PEDialogInput
getComponentDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.projectunified.unidialog.adventure.support.AdventureSupport
deserialize
-
Constructor Details
-
PEDialogInputBuilder
-
-
Method Details
-
booleanInput
Description copied from interface:DialogInputBuilder
Create a boolean input- Specified by:
booleanInput
in interfaceDialogInputBuilder
- Returns:
- a new instance of a boolean input
-
textInput
Description copied from interface:DialogInputBuilder
Create a text input- Specified by:
textInput
in interfaceDialogInputBuilder
- Returns:
- a new instance of a text input
-
singleOptionInput
Description copied from interface:DialogInputBuilder
Create a single option input- Specified by:
singleOptionInput
in interfaceDialogInputBuilder
- Returns:
- a new instance of a single option input
-
numberRangeInput
Description copied from interface:DialogInputBuilder
Create a number range input- Specified by:
numberRangeInput
in interfaceDialogInputBuilder
- Returns:
- a new instance of a number range input
-
getInput
public com.github.retrooper.packetevents.protocol.dialog.input.InputControl getInput()- Specified by:
getInput
in classPEDialogInput
-