public interface TabExtension extends ExtensionInformation
JPanels as additional tabs to the
ServerPackCreator GUI.| Modifier and Type | Method and Description |
|---|---|
ExtensionTab |
getTab(VersionMeta versionMeta,
ApplicationProperties applicationProperties,
Utilities utilities,
java.util.Optional<com.electronwill.nightconfig.core.CommentedConfig> addonConfig,
java.util.Optional<java.io.File> configFile) |
javax.swing.Icon |
getTabIcon()
Get the
Icon for this tab to display to the ServerPackCreator GUI. |
java.lang.String |
getTabTitle()
Get the title of this tab to display in the ServerPackCreator GUI.
|
java.lang.String |
getTabTooltip()
Get the tooltip for this tab to display in the ServerPackCreator GUI.
|
getExtensionIdgetAuthor, getDescription, getName, getVersionExtensionTab getTab(VersionMeta versionMeta, ApplicationProperties applicationProperties, Utilities utilities, java.util.Optional<com.electronwill.nightconfig.core.CommentedConfig> addonConfig, java.util.Optional<java.io.File> configFile)
versionMeta - Instance of VersionMeta so you can work with available
Minecraft, Forge, Fabric, LegacyFabric and Quilt versions.applicationProperties - Instance of ApplicationProperties 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.addonConfig - Addon specific configuration conveniently provided by
ServerPackCreator. This is the global configuration of the addon
which provides the ConfigPanelExtension to ServerPackCreator.configFile - The config-file corresponding to the ID of the addon, wrapped in
an Optional.javax.swing.Icon getTabIcon()
Icon for this tab to display to the ServerPackCreator GUI.java.lang.String getTabTitle()
java.lang.String getTabTooltip()