public interface TabExtension extends ExtensionInformation
JPanels as additional tabs to the
ServerPackCreator GUI.| Modifier and Type | Method and Description |
|---|---|
@NotNull ExtensionTab |
getTab(@NotNull VersionMeta versionMeta,
@NotNull ApplicationProperties applicationProperties,
@NotNull Utilities utilities,
@NotNull java.util.Optional<com.electronwill.nightconfig.core.CommentedConfig> addonConfig,
@NotNull java.util.Optional<java.io.File> configFile) |
@NotNull javax.swing.Icon |
getTabIcon()
Get the
Icon for this tab to display to the ServerPackCreator GUI. |
@NotNull java.lang.String |
getTabTitle()
Get the title of this tab to display in the ServerPackCreator GUI.
|
@NotNull java.lang.String |
getTabTooltip()
Get the tooltip for this tab to display in the ServerPackCreator GUI.
|
getExtensionIdgetAuthor, getDescription, getName, getVersion@NotNull @NotNull ExtensionTab getTab(@NotNull @NotNull VersionMeta versionMeta, @NotNull @NotNull ApplicationProperties applicationProperties, @NotNull @NotNull Utilities utilities, @NotNull @NotNull java.util.Optional<com.electronwill.nightconfig.core.CommentedConfig> addonConfig, @NotNull @NotNull 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.@NotNull @NotNull javax.swing.Icon getTabIcon()
Icon for this tab to display to the ServerPackCreator GUI.@NotNull @NotNull java.lang.String getTabTitle()
@NotNull @NotNull java.lang.String getTabTooltip()