public interface PreGenExtension
| Modifier and Type | Method and Description |
|---|---|
void |
run(@NotNull VersionMeta versionMeta,
@NotNull Utilities utilities,
@NotNull ApplicationProperties applicationProperties,
@NotNull ConfigurationModel configurationModel,
@NotNull java.lang.String destination,
@NotNull java.util.Optional<com.electronwill.nightconfig.core.CommentedConfig> addonConfig,
@NotNull java.util.ArrayList<com.electronwill.nightconfig.core.CommentedConfig> packSpecificConfigs) |
getExtensionIdgetAuthor, getDescription, getName, getVersionvoid run(@NotNull
@NotNull VersionMeta versionMeta,
@NotNull
@NotNull Utilities utilities,
@NotNull
@NotNull ApplicationProperties applicationProperties,
@NotNull
@NotNull ConfigurationModel configurationModel,
@NotNull
@NotNull java.lang.String destination,
@NotNull
@NotNull java.util.Optional<com.electronwill.nightconfig.core.CommentedConfig> addonConfig,
@NotNull
@NotNull java.util.ArrayList<com.electronwill.nightconfig.core.CommentedConfig> packSpecificConfigs)
throws java.lang.Exception
versionMeta - Instance of VersionMeta so you can work with available
Minecraft, Forge, Fabric, LegacyFabric and Quilt versions.utilities - Instance of Utilities commonly used across
ServerPackCreator.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.