createSpongeJsonConfig
abstract fun <C> createSpongeJsonConfig(configClass: Class<C>, configFolder: Path, configFileName: @JsonConfigFileNamePattern String): C
Creates a Sponge JSON configuration file.
Return
An instance of the configuration class C.
Parameters
C
The type of the configuration class.
configClass
The class of the configuration.
configFolder
The folder where the configuration file is stored.
configFileName
The name of the configuration file. Must follow the JSON file name pattern.