
Dungeon Hotbar
A custom hotbar inspired by Minecraft Dungeons.
- Загрузки
- 9K
- Подписчики
- 53
- Обновлён
- 31 июля 2026 г.
- Лицензия
- MIT
Опубликован 3 ноября 2025 г.
🧭 Dungeon Hotbar
Dungeon Hotbar is a Fabric mod that adds a redesigned hotbar inspired by Minecraft Dungeons.
It replaces the default hotbar, giving your interface a more atmospheric and polished look — while keeping the original Minecraft style intact.
✨ Features
- 🔹 Fully reworked hotbar inspired by Minecraft Dungeons.
- 🔹 Compatible with most interface and HUD-related mods.
- 🔹 Lightweight and dependency-free.
- 🔹 Uses Fabric API and
HudElementRegistryfor stable and smooth rendering.
🧩 Requirements
- Minecraft: 1.21.10
- Fabric Loader: 0.17.3
- Fabric API
🖼️ Textures
Textures are taken from Dungeons Hotbar by DartCat25
and are distributed under the MIT License.
© 2020 DartCat25 — “Dungeons Hotbar” (MIT License)
📜 License
This mod’s code is licensed under the MIT License.
You are free to use, modify, and include it in modpacks, as long as proper credit is given.
💡 Credits
- 🎨 DartCat25 — for the original hotbar textures.
Ченджлог
1.0.3Бета1.21.1 · 31 июля 2026 г.
convertation 1.21.1
1.0.3Бета1.20.1 · 31 июля 2026 г.
DungeonHotbar Conversion: Minecraft 1.21+ → 1.20.1 Fabric
Core API Changes
| 1.21+ | 1.20.1 |
|---|---|
Identifier.of("mod", "path") |
new Identifier("mod", "path") |
RenderPipelines.GUI_TEXTURED |
RenderSystem.setShader(GameRenderer::getPositionTexProgram) |
HudElementRegistry.replaceElement() |
HudRenderCallback.EVENT + mixins |
drawStackOverlay() |
drawItemInSlot() |
getSelectedSlot() |
selectedSlot (field) |
EntityAttributes.JUMP_STRENGTH |
EntityAttributes.HORSE_JUMP_STRENGTH |
MatrixStack Methods
| 1.21+ | 1.20.1 |
|---|---|
pushMatrix() |
push() |
popMatrix() |
pop() |
translate(x, y) |
translate(x, y, 0) |
scale(x, y) |
scale(x, y, 1.0f) |
drawTexture() Signature
| 1.21+ | 1.20.1 |
|---|---|
| 11 params (with RenderPipeline + UV region) | 8 params: drawTexture(tex, x, y, u, v, w, h, texW, texH) |
| UV cropping from spritesheet | Full texture via scale() |
Textures
| 1.21+ | 1.20.1 |
|---|---|
Spritesheets (widgets.png, icons.png) |
Separate files (dungeon_hotbar.png, icon_water.png, ...) |
UV: u1,v1,u2,v2 |
UV: 0,0 — whole texture |
HUD Registration
| 1.21+ | 1.20.1 |
|---|---|
HudElementRegistry.replaceElement(VanillaHudElements.HOTBAR, ...) |
HudRenderCallback.EVENT.register(...) |
| Hide vanilla elements via replacement | Hide via @Inject(..., cancellable = true) + ci.cancel() |
Progress Bars
| Parameter | Before (1.21+) | After (1.20.1) |
|---|---|---|
| Water icon | Index 0 (air) | Index 3 (icon_water) |
| Jump icon | None | Index 4 (icon_health_mount) |
| Level text | Above bar | Left side, same line |
| Jump text | Above bar | Left side, same line |
| Water bar visibility | Always | Only underwater (player.getAir() < player.getMaxAir()) |
| Bar height | 2px (Scale1) / 1px | 2px (Scale1) / 1px |
Stat Icons (HP, Armor, Food, Mount)
| Parameter | Before | After |
|---|---|---|
| Position | Next to text | Above text, centered |
| Size | Fixed | Configurable (ICON_SIZE, ICON_OFFSET_Y) |
Mixins (InGameHudMixin)
Cancel vanilla rendering for:
renderHotbar(float, DrawContext, CallbackInfo)— hotbarrenderStatusBars(DrawContext, CallbackInfo)— health barsrenderExperienceBar(DrawContext, int, CallbackInfo)— experiencerenderStatusEffectOverlay(DrawContext, CallbackInfo)— effectsrenderMountHealth(DrawContext, CallbackInfo)— mount healthrenderHeldItemTooltip(DrawContext, CallbackInfo)— item name
File Structure (20 classes)
1.0.3Бета1.21.11 · 16 июня 2026 г.
Fixing UI import 1.21.10
1.0.3Бета1.21.10 · 16 июня 2026 г.
Fix UI is Creative & icon water Y fix
1.0.3Бета26.1 · 21 мая 2026 г.
Porting 26.1
1.0.3Бета26.1.1 · 21 мая 2026 г.
porting 26.1.1
1.0.3Бета26.1.2 · 18 мая 2026 г.
- fixing offhand
1.0.2Бета26.1.2 · 18 мая 2026 г.
Porting 26.1.2 Fabric
- ✅ re-balance hotbar
- ✅ fixing water bar
- ✅ fixing hp txt
- ✅ fixing display hp mount/hp txt
- 🔜 I will update the visibility of items later
- 🔜 I will do the Forge import later
Комментарии
Загружаем…