Interface ConfigurateDataComponentValue

All Superinterfaces:
DataComponentValue

public interface ConfigurateDataComponentValue extends DataComponentValue
A data component value that can integrate with configuration nodes.
Since:
4.17.0
  • Method Details

    • capturingDataComponentValue

      static ConfigurateDataComponentValue capturingDataComponentValue(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(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