Skip to content

Optionally group digits of RF energy storage#38

Merged
Dream-Master merged 3 commits intoGTNewHorizons:masterfrom
MalTeeez:master
Jun 20, 2025
Merged

Optionally group digits of RF energy storage#38
Dream-Master merged 3 commits intoGTNewHorizons:masterfrom
MalTeeez:master

Conversation

@MalTeeez
Copy link
Contributor

This PR implements the optional decimal formatting of RFEnergyStorage (HUDHandlerIEnergyHandler) and Energy Transfer (HUDHandlerEnergyCell) to enable digit grouping.
I've been using this back with Waila, and it has been a nice QOL Feature, enabling quicker reading.

In practice, it looks like this:
Screenshot_388

Since some players probably find this change dubious, I've left it disabled by default for now.

In terms of locale, normally DecimalFormatSybols should pick up the correct separator by default, but I'm missing the knowledge there in how minecraft/forge provides the current locale to mods (Maybe we do it with language files?).

@Dream-Master Dream-Master requested a review from a team June 16, 2025 06:23
@Dream-Master Dream-Master merged commit e2f9d9a into GTNewHorizons:master Jun 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants