Class GsonDataComponentValueConverterProvider
java.lang.Object
net.kyori.adventure.text.serializer.gson.impl.GsonDataComponentValueConverterProvider
- All Implemented Interfaces:
DataComponentValueConverterRegistry.Provider
@AutoService(net.kyori.adventure.text.event.DataComponentValueConverterRegistry.Provider.class)
@Internal
public final class GsonDataComponentValueConverterProvider
extends Object
implements DataComponentValueConverterRegistry.Provider
A provider for Gson's implementations of data component value converters.
This is public SPI, not API.
- Since:
- 4.17.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull Iterable<DataComponentValueConverterRegistry.Conversion<?,
?>> @NotNull Key
id()
-
Constructor Details
-
GsonDataComponentValueConverterProvider
public GsonDataComponentValueConverterProvider()
-
-
Method Details
-
id
- Specified by:
id
in interfaceDataComponentValueConverterRegistry.Provider
-
conversions
@NotNull public @NotNull Iterable<DataComponentValueConverterRegistry.Conversion<?,?>> conversions()- Specified by:
conversions
in interfaceDataComponentValueConverterRegistry.Provider
-