Skip to content

[Bug Report] Fix hearts_per_row, number of rendered armor #60

@sepulzera

Description

@sepulzera

Describe the bug
The armor bar will render a fixed amount of 10 armor icons. I assume this is to align the bar nicely with the hp bar (that renders by default 10 hearts).

With the implementation of hearts_per_row this is not true anymore. Fix armor to respect this value.

How To Reproduce
Set "Hearts per row (beta)" to a value larger than 10.

Expected behavior
The armor bar has the same length as "Hearts per row (beta)". Or maybe don't render empty armor icons - I would suggest to align the armor bar then to the left for <= 10 hearts and center otherwise.

Desktop (please complete the following information):

  • Minecraft Version: 1.21.8
  • Java Version: 21
  • Mod Version: 21.6.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions