Interface ConfigurateDataComponentValue
-
- All Superinterfaces:
DataComponentValue,net.kyori.examination.Examinable
public interface ConfigurateDataComponentValue extends DataComponentValue
A data component value that can integrate with configuration nodes.- Since:
- 4.17.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.kyori.adventure.text.event.DataComponentValue
DataComponentValue.Removed, DataComponentValue.TagSerializable
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyTo(@NotNull org.spongepowered.configurate.ConfigurationNode node)Apply the contained value to the supplied node.static @NotNull ConfigurateDataComponentValuecapturingDataComponentValue(@NotNull org.spongepowered.configurate.ConfigurationNode existing)Create a data component value capturing the value of an existing node.
-
-
-
Method Detail
-
capturingDataComponentValue
@NotNull static @NotNull ConfigurateDataComponentValue capturingDataComponentValue(@NotNull @NotNull org.spongepowered.configurate.ConfigurationNode existing)
Create a data component value capturing the value of an existing node.- Parameters:
existing- the existing node- Returns:
- the captured value
- Since:
- 4.17.0
-
applyTo
void applyTo(@NotNull @NotNull org.spongepowered.configurate.ConfigurationNode node)Apply the contained value to the supplied node.- Parameters:
node- the node to apply this value to- Since:
- 4.17.0
-
-