@ConfigSerializable public abstract class AbstractYamlConfig extends java.lang.Object implements Config
YamlConfigFactory
will auto-fill
the values from the object to the config file.Modifier and Type | Field and Description |
---|---|
protected org.spongepowered.configurate.reference.ConfigurationReference<org.spongepowered.configurate.CommentedConfigurationNode> |
base |
protected org.spongepowered.configurate.reference.ValueReference<AbstractYamlConfig,org.spongepowered.configurate.CommentedConfigurationNode> |
config |
Modifier | Constructor and Description |
---|---|
protected |
AbstractYamlConfig() |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.configurate.ConfigurationNode |
getNode()
Gets the main configuration node of the config
|
void |
save()
Saves the data to the file
|
protected transient org.spongepowered.configurate.reference.ConfigurationReference<org.spongepowered.configurate.CommentedConfigurationNode> base
protected transient org.spongepowered.configurate.reference.ValueReference<AbstractYamlConfig,org.spongepowered.configurate.CommentedConfigurationNode> config
public org.spongepowered.configurate.ConfigurationNode getNode()
Config