▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Dungeon Hotbar
Dungeon Hotbar

Dungeon Hotbar

A custom hotbar inspired by Minecraft Dungeons.

Оцените первым
9.6K
53
Все версииDungeon Hotbar 1.0.3

Dungeon Hotbar 1.0.3

Beta31.07.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_TEXTUREDRenderSystem.setShader(GameRenderer::getPositionTexProgram)
HudElementRegistry.replaceElement()HudRenderCallback.EVENT + mixins
drawStackOverlay()drawItemInSlot()
getSelectedSlot()selectedSlot (field)
EntityAttributes.JUMP_STRENGTHEntityAttributes.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 spritesheetFull 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,v2UV: 0,0 — whole texture

HUD Registration

1.21+1.20.1
HudElementRegistry.replaceElement(VanillaHudElements.HOTBAR, ...)HudRenderCallback.EVENT.register(...)
Hide vanilla elements via replacementHide via @Inject(..., cancellable = true) + ci.cancel()

Progress Bars

ParameterBefore (1.21+)After (1.20.1)
Water iconIndex 0 (air)Index 3 (icon_water)
Jump iconNoneIndex 4 (icon_health_mount)
Level textAbove barLeft side, same line
Jump textAbove barLeft side, same line
Water bar visibilityAlwaysOnly underwater (player.getAir() < player.getMaxAir())
Bar height2px (Scale1) / 1px2px (Scale1) / 1px

Stat Icons (HP, Armor, Food, Mount)

ParameterBeforeAfter
PositionNext to textAbove text, centered
SizeFixedConfigurable (ICON_SIZE, ICON_OFFSET_Y)

Mixins (InGameHudMixin)

Cancel vanilla rendering for:

  • renderHotbar(float, DrawContext, CallbackInfo) — hotbar
  • renderStatusBars(DrawContext, CallbackInfo) — health bars
  • renderExperienceBar(DrawContext, int, CallbackInfo) — experience
  • renderStatusEffectOverlay(DrawContext, CallbackInfo) — effects
  • renderMountHealth(DrawContext, CallbackInfo) — mount health
  • renderHeldItemTooltip(DrawContext, CallbackInfo) — item name

File Structure (20 classes)

Файлы

dungeonhotbar-1.0.3.jar(822.75 KiB)
Основной
Скачать

Метаданные

Канал релиза

Beta

Номер версии

1.0.3

Загрузчики

Fabric

Версии игры

1.20.1

Загрузок

190

Дата публикации

31.07.2026

Загрузил

ID версии

Главная