Мова

EclipseUI

EclipseUI

Modrinth

A modern config and config UI lib.

6.2k завантажень 5 підписників оновлено 6d ago
остання v1.0.5+mc26.2-rc-2 Modrinth
Fabric Neoforge 1.21.11 – 26.2 Library

EclipseUI

A lightweight, themeable config screen library for Minecraft mods.

Features

  • Fabric & NeoForge support.
  • Two themes: Faithful (vanilla style) & Modern (flat design)
  • Rich widgets: toggles, sliders, dropdowns, color pickers, text fields
  • ModMenu integration out of the box

Installation

For Mod Developers

Add EclipseUI to your mod by following the Usage Guide.

Quick dependency setup:

repositories {
    maven("https://jitpack.io")
}

dependencies {
    // Fabric
    modImplementation("com.github.coredex-source.EclipseUI:EclipseUI-fabric:v1.0.2")
    
    // NeoForge
    implementation("com.github.coredex-source.EclipseUI:EclipseUI-neoforge:v1.0.2")
}

See the full Usage Guide for complete setup instructions and examples.

Quick Start

EclipseUI.configScreen()
    .title(Component.literal("My Mod Config"))
    .parent(parent)
    .theme(Theme.MODERN)
    .category(cat -> cat
        .name(Component.literal("General"))
        .toggle(t -> t
            .name(Component.literal("Enable Feature"))
            .binding(() -> config.enabled, v -> config.enabled = v)
            .defaultValue(true)
        )
        .slider(s -> s
            .name(Component.literal("Range"))
            .range(0, 100, 1)
            .bindingInt(() -> config.range, v -> config.range = v)
            .defaultValue(50)
        )
    )
    .build();

Documentation

License

MIT License

Версії

Beta
1.0.5+mc26.2-rc-2
neoforge · 26.2-rc-2, 26.2 · 6d ago
210
Beta
1.0.5+mc26.2-rc-2
fabric · 26.2-rc-2, 26.2 · 6d ago
4.1k
Beta
1.0.5+mc26.2-pre-4
fabric · 26.2-pre-4 · 15d ago
185
Beta
1.0.5+mc26.2-snapshot-2
fabric · 26.2-snapshot-1, 26.2-snapshot-2, 26.2-snapshot-3 · 2mo ago
644
Beta
1.0.4+mc26.1
neoforge · 26.1, 26.1.1, 26.1.2 · 2mo ago
129
Beta
1.0.4+mc26.1
fabric · 26.1, 26.1.1, 26.1.2 · 2mo ago
705
Beta
1.0.3+mc26.1
neoforge · 26.1 · 2mo ago
14
Beta
1.0.3+mc26.1
fabric · 26.1 · 2mo ago
17
Beta
1.0.2+mc26.1
neoforge · 26.1 · 2mo ago
16
Beta
1.0.2+mc26.1
fabric · 26.1 · 2mo ago
18
Beta
1.0.0+mc1.21.11
neoforge · 1.21.11 · 4mo ago
20
Beta
1.0.0+mc1.21.11
fabric · 1.21.11 · 4mo ago
144

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.