Minenash / CustomHUD

A highly customizable variable-based text HUD for Minecraft
MIT License
77 stars 23 forks source link

Request: multiple requests #88

Closed waxt0n closed 1 year ago

waxt0n commented 1 year ago

Hi, I've been using custom hud for about a year now, and I love it! There are just a few things I wish it could do, that it currently cannot.

First, It would be great if there was a center option for positioning sections. This would make it so instead of just TopLeft, TopRight, BottomLeft, BottomRight, you could have TopLeft, TopCenter, TopRight, CenterLeft, CenterCenter, CenterRight, BottomLeft, BottomCenter, BottomRight. This would not break any current profiles, but would open up a lot more options, especially if you want text around the hotbar or places like that to scale correctly as you resize your window.

Second, Having multiple of the same section with different shifts would be amazing. Essentially this would allow you to place as many "text boxes" as you want, wherever on your screen you want them. This could be written in profile.txt by just calling a section over and over, with different shifts each time.

Finally, an {itemcount:<slot>} variable would be nice to see how many total you have of whatever item you have in said slot

Thank you for your work on this great project, I look forward to see what's coming next!

Minenash commented 1 year ago

I definitely plan to add CenterX and XCenter positions, but I'm not exactly sure what the point of multiple sections of the same type with different offset. In pretty much all cases it can be done with one or have a high chance of overlap. It'll probably be supported anyways to make the addition of centers easier, I just don't see the need

waxt0n commented 1 year ago

the main reason for multiple of the section is for placing things around the hotbar, like i might want to have my offhand durability to the left, mainhand durability on the right, and an indicator for what armor i have over the hunger bar, which is kinda possible to do with offsets now, but messed up whenever something changes (armor icons appearing and disappearing, text gaining or losing characters). Also, is it possible to add a flag so when an icon disappears it still takes up the same space it used to, its just blank now?

Minenash commented 1 year ago

It'll be in the next release, sometime within the next week

Minenash commented 1 year ago

Added in v3.1