介绍
![]()
Reusable interface components for Minecraft mods

Mod screens can feel inconsistent and cumbersome when every control is built differently. R-Ui Lib gives mods a shared set of clear, reusable interface components for settings, item filters, menus, and other screens.
R-Ui Lib is a library: it adds no standalone screens, items, or blocks. You see it through the Minecraft mods that use it.

Screens and layouts
Keep information and controls organized.
- Arrange content in rows, columns, grids, tabs, cards, and scrollable areas.
- Use panels, labels, progress bars, and tables to make screens easier to scan.
- Choose a Dark or Light theme and adjust colors, spacing, and other visual settings.
Controls and feedback
Give each screen familiar ways to make choices and see what happened.
- Use buttons, toggles, sliders, text fields, dropdowns, and segmented choices.
- Show dialogs, tooltips, and toast notifications.
- Selectable cards can contain their own interactive controls.
Item selection
Let players choose items without rearranging their inventory.
- Show item previews, filter slots, and inventory grids.
- Pick an item from the inventory and place its reference into a supported filter slot; the original stack stays in the inventory.
- With JEI installed, drag an item from JEI into a supported filter slot.
Colors and previews
Adjust color choices and preview them before applying.
- Pick colors with RGB sliders or hexadecimal input, then apply or cancel the preview.
- Use color swatches and scalable item previews in a screen.
- Scroll through wide groups of components without crowding the screen.
Developer documentation
Build your mod’s interface with the library’s guides and examples.
- Integrate R-Ui Lib into a mod.
- Browse an example for each component.
- Learn about components and themes.
- Try the development playground.
- Check supported loaders and validation.
- Read the Português (Brasil) documentation.

Install R-Ui Lib alongside a mod that uses it, with matching Minecraft and loader versions. Open that mod’s screen to use the controls it provides.
Heads up: R-Ui Lib does not add its own screen or gameplay content. The available interface depends on the mod using the library.

- Minecraft 1.20.1 with Forge 47.4.20 or newer
- Minecraft 1.21.1 with NeoForge 21.1.236 or newer
- Install R-Ui Lib on the client and server when a mod you use requires it.
- JEI is optional: JEI 15 for Forge, or JEI 19+ for NeoForge. It enables dragging items into supported filter slots.

Report an issue on GitHub. Include your Minecraft version, loader, the mod whose screen is affected, and steps to reproduce the problem. A screenshot or relevant log excerpt can help.

Yes. R-Ui Lib is released under the MIT License.
See the changelog.
常见问题
R-UI Lib 支持哪些 Minecraft 版本?
R-UI Lib 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
R-UI Lib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
radaeli 的其他作品
查看全部 →Create: Copycat Replace!
Replace a Copycat's material in a single click - Work with connected blocks and supports Copycats+
Sophisticated Backpacks: Digital Storage Expansion (AE2, RS, SCC)
Connect your Sophisticated Backpack to your digital storage! Supports Applied Energistics 2 (AE2), Refined Storage (RS), Super Cool Calculator (SCC), and Tom's Simple Storage.
[DEPRECATED] – Create: Stock Market – Updated Numismatics
DEPRECATED - Use the official mod - This one is gonna be deleted soon.
Simply Light: Smart!
An addon for Simply Light that adds redstone-dimmable lights and Smart Switch controls for linked lighting networks.
评论
登录后评论和评分