Class ExtensionConfigPanel

  • All Implemented Interfaces:
    java.awt.MenuContainer , java.awt.image.ImageObserver , java.io.Serializable , javax.accessibility.Accessible , javax.swing.TransferHandler.HasGetTransferHandler

    
    public abstract class ExtensionConfigPanel
    extends JPanel
                        

    Template ConfigPanel for use in {@link ConfigPanelExtension} extensions.

    Author:

    Griefed

    • Constructor Detail

      • ExtensionConfigPanel

        ExtensionConfigPanel(VersionMeta versionMeta, ApiProperties apiProperties, Utilities utilities, ServerPackConfigTab serverPackConfigTab, Optional<CommentedConfig> pluginConfig, String extensionName, String pluginID)
        Parameters:
        versionMeta - Instance of VersionMeta so you can work with available Minecraft, Forge, Fabric, LegacyFabric and Quilt versions.
        apiProperties - Instance of Properties 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.
        serverPackConfigTab - Instance of ServerPackConfigTab to give you access to the various fields inside it, like the modpack directory, selected Minecraft, modloader and modloader versions, etc.
        pluginConfig - Plugin specific configuration conveniently provided by ServerPackCreator.
        extensionName - The name the titled border of this ConfigPanel will get.
        pluginID - The ID of the plugin providing this extension implementation.