public interface PreGenExtension
| Modifier and Type | Method and Description |
|---|---|
void |
run(ApplicationProperties applicationProperties,
ConfigurationModel configurationModel,
java.lang.String destination,
java.util.Optional<com.electronwill.nightconfig.core.CommentedConfig> addonConfig,
java.util.ArrayList<com.electronwill.nightconfig.core.CommentedConfig> packSpecificConfigs) |
getExtensionIdgetAuthor, getDescription, getName, getVersionvoid run(ApplicationProperties applicationProperties, ConfigurationModel configurationModel, java.lang.String destination, java.util.Optional<com.electronwill.nightconfig.core.CommentedConfig> addonConfig, java.util.ArrayList<com.electronwill.nightconfig.core.CommentedConfig> packSpecificConfigs) throws java.lang.Exception
applicationProperties - Instance of ApplicationProperties as ServerPackCreator
itself uses it.configurationModel - Instance of ConfigurationModel for a given server pack.destination - String. The destination of the server pack.addonConfig - Configuration for this addon, conveniently provided by
ServerPackCreator.packSpecificConfigs - Modpack and server pack specific configurations for this addon,
conveniently provided by ServerPackCreator.java.lang.Exception - Exception when an uncaught error occurs in the addon.