Package net.kyori.adventure.text.event
Interface DataComponentValueConverterRegistry.Provider
-
- Enclosing class:
- DataComponentValueConverterRegistry
public static interface DataComponentValueConverterRegistry.Provider
A provider for data component value converters.- Since:
- 4.17.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.lang.Iterable<DataComponentValueConverterRegistry.Conversion<?,?>>
conversions()
Return conversions available from this provider.@NotNull Key
id()
An identifier for this provider.
-
-
-
Method Detail
-
id
@NotNull @NotNull Key id()
An identifier for this provider.- Returns:
- the provider id
- Since:
- 4.17.0
-
conversions
@NotNull @NotNull java.lang.Iterable<DataComponentValueConverterRegistry.Conversion<?,?>> conversions()
Return conversions available from this provider.Conversions may only be queried once at application initialization, so changes to the result of this method may not have any effect.
- Returns:
- the conversions available
- Since:
- 4.17.0
-
-