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
ConstructorsModifierConstructorDescriptionprotectedPEDialogInput(Function<String, net.kyori.adventure.text.Component> componentDeserializer) -
Method Summary
Modifier and TypeMethodDescriptionGet the deserializer function that converts a string to aComponentabstract com.github.retrooper.packetevents.protocol.dialog.input.InputControlgetInput()Methods 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
-
PEDialogInput
-
-
Method Details
-
getInput
public abstract com.github.retrooper.packetevents.protocol.dialog.input.InputControl getInput() -
getComponentDeserializer
Description copied from interface:AdventureSupportGet the deserializer function that converts a string to aComponent- Specified by:
getComponentDeserializerin interfaceAdventureSupport- Returns:
- the function that deserializes a string into a Component
-