Class PEDialogInput
java.lang.Object
io.github.projectunified.unidialog.packetevents.input.PEDialogInput
- All Implemented Interfaces:
AdventureSupport
- Direct Known Subclasses:
PEBooleanInput
,PEDialogInputBuilder
,PENumberRangeInput
,PESingleOptionInput
,PETextInput
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PEDialogInput
(Function<String, net.kyori.adventure.text.Component> componentDeserializer) -
Method Summary
Modifier and TypeMethodDescriptionGet the deserializer function that converts a string to aComponent
abstract com.github.retrooper.packetevents.protocol.dialog.input.InputControl
getInput()
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
-
PEDialogInput
-
-
Method Details
-
getInput
public abstract com.github.retrooper.packetevents.protocol.dialog.input.InputControl getInput() -
getComponentDeserializer
Description copied from interface:AdventureSupport
Get the deserializer function that converts a string to aComponent
- Specified by:
getComponentDeserializer
in interfaceAdventureSupport
- Returns:
- the function that deserializes a string into a Component
-