
Что это
A Fabric UI library for building menus, HUD readouts, and settings pages on vanilla screens or your own.
- Тип: мод
- Загрузчик: fabric
- Версии Minecraft: 1.21 – 26.3
- Скачиваний на Modrinth: 6 286
Подробно
MenuKit is a UI library for Fabric mods. It has the parts of a Minecraft interface (buttons, sliders, tabs, panels, HUD readouts, and settings controls) and places them on the HUD, on vanilla screens, or on screens a mod opens itself. A mod builds its menus and overlays with it instead of writing vanilla screen code from scratch.
I built it for my own mods, then opened it up so other modders can use it too. If you're a player and another mod asked you to install MenuKit, put it in your mods folder alongside that mod and you're done. On its own it changes very little. Buttons get a pressed look while you hold them down, single chest, barrel, ender chest, and shulker box screens are trimmed to the inventory screen's height so your inventory sits in the same place on all of them, and Controls gets a Move panels key that does nothing until you bind it.
The UI draws on the client. MenuKit also loads on a server, because libraries built on it run server code, but a mod that only draws UI can stay client-only. For slots, there is SlotKit, a separate library built on MenuKit that finds and acts on the slots in any menu and builds real slots and custom menus.
- One set of components for five contexts, which are the HUD, container screens, other vanilla screens, anchors, and standalone screens. An anchor is a rectangle a mod names and supplies on any screen, such as the pause menu's column of buttons. - Buttons, toggles, checkboxes, radio buttons, sliders, dropdowns (single and multi-select), text fields, labels, info boxes, tooltips, icons, item displays (with an optional colored outline), progress bars, dividers, scroll containers, runtime rows (Flow, plain or drawn as cards), collapsible sections, tabs, color fields, item pickers, and confirm and alert dialogs. - Every builder uses the same method names (at, size, visibleWhen, disabledWhen, tooltip, state, onClick). Every control that shows a value reads and writes a field the mod owns. - Components are grouped into panels. A panel renders, takes input, and shows or hides as a unit, and one disabledWhen grays the whole panel. - A panel's placement is one declaration on the panel, and it can differ by game mode, so a panel can sit somewhere else in creative. The panel sizes itself to fit at any GUI scale, wrapping and scrolling as needed. - Several mods can add UI to the same screen. Panels that share a region stack in priority order instead of overlapping, in the same order on every launch. Mods that work together can also share one panel, which wraps into a second column past a count the
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Minecraft, but animations are upgraded!
A cool modpack that upgrades animations a LOT!! 05.12.2026
Drawers 3
Drawers 3 is the sequel to my "Drawers" and "Drawers 2". It adds upgradeable storage blocks that go from wood to ender. Drawers can be… 05.12.2026
A Fresh Splash
this resource pack adds more splash titles! 05.12.2026
3D EnderPearl
a cool 3d pearl made by me in blockbench 05.12.2026
Buulzai
[Archived] Absolutely necessary performance mods and tweaks. No more superfluous mods! Single player • mid-range hardware • mod… 05.12.2026
Ores+ 2
This project adds more diamonds and much more! 05.12.2026