Beta!

Mods / GuiCompositeSettingsEx

Category: #QoL #Utility
Author: Fulgen
Side: Client
Created: Jul 9th
Last modified: 5 days ago
Downloads: 137

This mod provides an API to add custom settings panels to the settings dialog.

API documentation

Example:

public override void StartClientSide(ICoreClientAPI capi)
{
    GuiCompositeSettingsEx.AddPanel("testpanel", (settings, on) =>
    {
        GuiComposer composer = settings.LoadComposerEx("testpanel", "testpanel");
        // Add your GUI elements here using standard UI elements.
        // Be aware that the header is 75.0 pixels high.
        
        composer.EndChildElements(); // title bar
        composer.Compose();
        settings.LoadComposer(composer);
    };
}

Version For Game version Downloads Release date Changelog Download
v0.2.0 46 5 days ago Show GuiCompositeSettingsEx.dll
v0.1.0 91 Jul 9th Show GuiCompositeSettingsEx.dll

0 Comments

delete edit