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 java.lang.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
Constructors Constructor Description GsonDataComponentValueConverterProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.Iterable<DataComponentValueConverterRegistry.Conversion<?,?>>
conversions()
@NotNull Key
id()
-
-
-
Method Detail
-
id
@NotNull public @NotNull Key id()
- Specified by:
id
in interfaceDataComponentValueConverterRegistry.Provider
-
conversions
@NotNull public @NotNull java.lang.Iterable<DataComponentValueConverterRegistry.Conversion<?,?>> conversions()
- Specified by:
conversions
in interfaceDataComponentValueConverterRegistry.Provider
-
-