介绍
中文介绍正在准备中,下面暂时显示原文。
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
- Usage Guide – Complete guide on integrating EclipseUI into your mod
- GitHub Issues – Report bugs or request features
License
MIT License
Coredex 的其他作品
查看全部 →ModernFix-mVUS
by Coredex
ModernFix 的一个分支版本,增加了对小版本更新的支持。
1306万
21 天前
Modrinth
Animatica Refabricated
by Coredex
Animatica 的分支,实现了 OptiFine/MCPatcher 动态材质格式。
605.1万
7 天前
Modrinth
Detail Armor Bar Reconstructed
by Coredex
盔甲栏中显示更多盔甲详情!
465.9万
3 天前
Modrinth
NoisiumForked
by Coredex
Optimises worldgen performance for a better gameplay experience.
291.3万
5 个月前
Modrinth
评论
登录后评论和评分