Creating a Config
Use SSCL.create() to create a config.
Config config = SSCL.create(
MOD_ID,
"ExampleMod/config.toml",
ConfigSide.CLIENT
);
The arguments are:
modId: The mod that owns the config.file: The config file path relative to Minecraft'sconfigfolder.side: The side the config belongs to. See Config Side.
File generation for example:
"example.toml"createsconfig/example.toml- Or
"ExampleMod/config.toml"createsconfig/ExampleMod/config.toml
The file must end with .toml.