get Tab
abstract fun getTab(versionMeta: VersionMeta, apiProperties: ApiProperties, utilities: Utilities, pluginConfig: Optional<CommentedConfig>, configFile: Optional<File>): ExtensionTab
Return
Component to add to the ServerPackCreator GUI as a tab.
Author
Griefed
Parameters
version Meta
Instance of VersionMeta so you can work with available Minecraft, Forge, Fabric, LegacyFabric and Quilt versions.
api Properties
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.
plugin Config
Plugin specific configuration conveniently provided by ServerPackCreator. This is the global configuration of the plugin which provides the ConfigPanelExtension to ServerPackCreator.
config File
The config-file corresponding to the ID of the plugin, wrapped in an Optional.