Перейти к содержимому
Mineforgian

Resource Bar API

A small java API mod that allows mods to easily set up a complete resource bar HUD element.

Загрузки
37K
Подписчики
8
Обновлён
15 апреля 2026 г.
Лицензия
MIT

Опубликован 21 ноября 2024 г.

Resource Bar API

A small java API mod that allows mods to easily set up a complete resource bar HUD element.

This can be for example a mana bar.

This API does not do all the work. All this API does is provide a method that draws the HUD element according to the given parameters.

It does not decide under which conditions the element should be rendered. That is the job of the mod using this API. This decision was made to ensure maximum flexibility when using this API.

Ченджлог

4.0.0Релиз26.1, 26.1.1, 26.1.2 · 15 апреля 2026 г.

4.0.0

  • updated to Minecraft 26.1.x
  • removed deprecated "icon resource bar" API method
3.2.0Релиз1.21.11 · 17 февраля 2026 г.

3.2.0

Changes

  • reworked icon resource bars to support multiple icon types per resource bar
    • the old API method was deprecated
3.1.0Релиз1.21.11 · 25 января 2026 г.

3.1.0

  • updated to 1.21.11
  • migrated to Mojang Mappings
3.0.0Релиз1.21.10 · 25 октября 2025 г.

3.0.0

  • updated to 1.21.10
2.7.0Релиз1.21.1 · 30 июля 2025 г.

2.7.0

  • added icon resource bars, similar to the vanilla resource bars. This first iteration does not support multiple icon types per bar yet (eg absorption hearts). This will (hopefully) be implemented at a later stage.
  • several API methods were renamed and split up
1.6.2Релиз1.20.1 · 8 декабря 2024 г.

1.6.2

  • fixed some other wrong calculations
2.6.2Релиз1.21.1 · 8 декабря 2024 г.

2.6.2

  • fixed some other wrong calculations
1.6.1Релиз1.20.1 · 8 декабря 2024 г.

1.6.1

  • fixed some wrong calculations

Комментарии

Загружаем…