promotional bannermobile promotional banner

SH Better UI

A Minecraft UI library for Forge and NeoForge with Liquid Glass, dynamic themes, rich text, and reusable widgets for mods and modpacks.
Back to Files

sh_better_ui-neoforge-1.21.1-1.0.3.jar

File namesh_better_ui-neoforge-1.21.1-1.0.3.jar
Uploader
dishanhaidishanhai
Uploaded
Nov 7, 2026
Downloads
8
Size
310.9 KB
Mod Loaders
NeoForge
File ID
9496228
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:sh-better-ui-1789783:9496228"

Learn more about Curse Maven

What's new

## v1.0.3 — Initial CurseForge Release

### Features
- **Glassmorphic & Slate Themes**:
  - Shared `GlassTheme` (`GLASS` & `SMOKE`), `GlassSurface`, and `DarkModeTheme` rendering APIs with real-time Gaussian background blur (`GaussBlur`), soft text outlines, shadows, and subtle edge lighting.
  - Optional Forge LDLib compatibility (`GlassPanelTexture`) for clear glass panels and button overlays.
- **Interactive Controls & Animations**:
  - Built-in `UiButton`, `UiAttention`, `InterruptibleAnimation`, `ClickRipple`, and `GlassEffectRenderer` for smooth, velocity-preserving transitions, flowing borders, and visual feedback.
  - Direct manipulation helpers including `PointerDrag`, `ScrollPageTurn`, and anchor-stable `ViewportTransform` zooming.
- **Search & Ingredient Pickers**:
  - Multi-field `SearchIndex` and native `SearchField` with autocomplete suggestions, keyboard navigation, and undo support.
  - Full-featured `IngredientPicker` for items and fluids supporting single/multi-selection, tag/mod/ID filtering (`IngredientFilter`), undo/cancel, and state persistence across screen resizes.
  - Optional **JEI** integration (`JeiIntegration` & `JeiSearchPanel`) with automatic fallback to vanilla registries when JEI is absent.
- **User Control & Accessibility**:
  - `UiHistory` for back navigation and undo snapshots, `UiConfirmation` modal dialogs, `UiDisclosure` expandable sections, and `UiPreferences` supporting high contrast, reduced motion, and blur toggles.
- **Multi-Platform Support**:
  - Standalone runtime builds for **Forge 1.20.1** and **NeoForge 1.21.1**.

### Requirements
- **Required**: **KotlinForForge** (`4.12.0+` on Forge 1.20.1 / `5.10.0+` on NeoForge 1.21.1).
- **Optional**: JEI, LDLib (Forge 1.20.1 only, when LDLib glass textures are used).
- **Java**: Java 21.

---

## v1.0.3 — CurseForge 首次发布

### 核心功能
- **毛玻璃与暗色主题渲染**:
  - 提供 `GlassTheme`(`GLASS` 与 `SMOKE` 预设)、`GlassSurface` 及 `DarkModeTheme` 界面渲染 API,支持实时背景高斯模糊(`GaussBlur`)、文字柔光描边、阴影与边缘高光。
  - Forge 端可选兼容 LDLib(`GlassPanelTexture`),支持透明毛玻璃面板与按钮叠加层复用。
- **交互控件与平滑动画**:
  - 内置 `UiButton`、`UiAttention`、可打断且保留速度的动画系统(`InterruptibleAnimation`)、点击水波纹(`ClickRipple`)及流光边框特效(`GlassEffectRenderer`)。
  - 提供直接操作辅助工具:拖拽追踪(`PointerDrag`)、滚轮与边界翻页(`ScrollPageTurn`)以及锚点稳定的视口缩放(`ViewportTransform`)。
- **搜索组件与物品/流体选择器**:
  - 支持多字段匹配的 `SearchIndex` 与基于原生输入框的 `SearchField`,具备自动补全建议、键盘导航与撤销功能。
  - 内置 `IngredientPicker` 物品与流体选择器,支持单选/多选、按模组/标签/ID 过滤(`IngredientFilter`)、仅看已选、撤销与取消,并在窗口缩放或跳转配方时保留草稿状态。
  - 可选集成 **JEI**(`JeiIntegration` 与 `JeiSearchPanel`),未安装 JEI 时自动回退至原版注册表。
- **用户掌控与无障碍支持**:
  - 提供历史快照与撤销栈(`UiHistory`)、模态确认框(`UiConfirmation`)、渐进展开区(`UiDisclosure`),以及支持高对比度、减少动效与模糊开关的偏好设置(`UiPreferences`)。
- **跨平台支持**:
  - 提供 **Forge 1.20.1** 与 **NeoForge 1.21.1** 独立构建版本。

### 前置需求
- **必需前置**:**KotlinForForge**(Forge 1.20.1 需 `4.12.0+` / NeoForge 1.21.1 需 `5.10.0+`)。
- **可选联动**:JEI、LDLib(仅 Forge 1.20.1 按需可选)。
- **运行环境**:Java 21。

This mod has no additional files