Class PaperDialogInput
java.lang.Object
io.github.projectunified.unidialog.paper.input.PaperDialogInput
- All Implemented Interfaces:
AdventureSupport
- Direct Known Subclasses:
PaperBooleanInput,PaperDialogInputBuilder,PaperNumberRangeInput,PaperSingleOptionInput,PaperTextInput
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPaperDialogInput(String key, Function<String, net.kyori.adventure.text.Component> componentDeserializer) -
Method Summary
Modifier and TypeMethodDescriptionGet the deserializer function that converts a string to aComponentabstract io.papermc.paper.registry.data.dialog.input.DialogInputMethods 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
-
Field Details
-
key
-
-
Constructor Details
-
PaperDialogInput
-
-
Method Details
-
getDialogInput
public abstract io.papermc.paper.registry.data.dialog.input.DialogInput getDialogInput() -
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
-