Interface ConfigurateDataComponentValue
- All Superinterfaces:
DataComponentValue
,net.kyori.examination.Examinable
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
Modifier and TypeMethodDescriptionvoid
applyTo
(@NotNull org.spongepowered.configurate.ConfigurationNode node) Apply the contained value to the supplied node.static @NotNull ConfigurateDataComponentValue
capturingDataComponentValue
(@NotNull org.spongepowered.configurate.ConfigurationNode existing) Create a data component value capturing the value of an existing node.Methods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examine
-
Method Details
-
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
-