Interface AdventureSupport
- All Known Subinterfaces:
AdventureBooleanInput<T>,AdventureDialog<I,,BB, IB, T> AdventureDialogActionBuilder<D,,T> AdventureNumberRangeInput<T>,AdventureSingleOptionInput<T>,AdventureTextBody<T>,AdventureTextInput<T>
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.Componentdeserialize(String input) Applies the deserializer to the given input string to convert it into aComponentGet 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
-