Search in sources :

Example 1 with BasicConfigurationNode

use of org.spongepowered.configurate.BasicConfigurationNode in project SpongeCommon by SpongePowered.

the class ConfigurateTranslator method translate.

@Override
public ConfigurationNode translate(final DataView view) throws InvalidDataException {
    final BasicConfigurationNode node = BasicConfigurationNode.root(ConfigurateTranslator.DEFAULT_OPTS);
    this.translateDataToNode(node, view);
    return node;
}
Also used : BasicConfigurationNode(org.spongepowered.configurate.BasicConfigurationNode)

Aggregations

BasicConfigurationNode (org.spongepowered.configurate.BasicConfigurationNode)1