Interface AdventureSupport
- All Known Subinterfaces:
AdventureBooleanInput<T>
,AdventureDialog<I,
,BB, IB, T> AdventureDialogActionBuilder<D,
,T> AdventureNumberRangeInput<T>
,AdventureSingleOptionInput<T>
,AdventureTextBody<T>
,AdventureTextInput<T>
- All Known Implementing Classes:
PaperBooleanInput
,PaperConfirmationDialog
,PaperDialog
,PaperDialogActionBuilder
,PaperDialogInput
,PaperDialogInputBuilder
,PaperDialogListDialog
,PaperMultiActionDialog
,PaperNoticeDialog
,PaperNumberRangeInput
,PaperServerLinksDialog
,PaperSingleOptionInput
,PaperTextBody
,PaperTextInput
,PEBooleanInput
,PEConfirmationDialog
,PEDialog
,PEDialogActionBuilder
,PEDialogInput
,PEDialogInputBuilder
,PEDialogListDialog
,PEMultiActionDialog
,PENoticeDialog
,PENumberRangeInput
,PEServerLinksDialog
,PESingleOptionInput
,PETextBody
,PETextInput
public interface AdventureSupport
An interface that provides support for handling
Component
serialization and deserialization.
It allows for the conversion of strings to Component
objects using a provided deserializer function.-
Method Summary
Modifier and TypeMethodDescriptiondefault net.kyori.adventure.text.Component
deserialize
(String input) Applies the deserializer to the given input string to convert it into aComponent
Get the deserializer function that converts a string to aComponent
-
Method Details
-
getComponentDeserializer
Get the deserializer function that converts a string to aComponent
- Returns:
- the function that deserializes a string into a Component
-
deserialize
Applies the deserializer to the given input string to convert it into aComponent
- Parameters:
input
- the input string to be deserialized- Returns:
- the deserialized
Component
-