ExtensionTab

protected constructor(versionMeta: VersionMeta, apiProperties: ApiProperties, utilities: Utilities, pluginConfig: Optional<CommentedConfig>, configFile: Optional<File>)

Parameters

versionMeta

Instance of VersionMeta so you can work with available Minecraft, Forge, Fabric, LegacyFabric and Quilt versions.

apiProperties

Instance of ApiProperties The current configuration of ServerPackCreator, like the default list of clientside-only mods, the server pack directory etc.

utilities

Instance of Utilities commonly used across ServerPackCreator.

pluginConfig

Plugin specific configuration conveniently provided by ServerPackCreator. This is the global configuration of the plugin which provides the ConfigPanelExtension to ServerPackCreator.

configFile

The config-file corresponding to the ID of the plugin, wrapped in an Optional.