Closed jordoncodes closed 5 months ago
Enhance Score Formatting
A new library import net.minecraft.network.chat.numbers.NumberFormat
has been added. This will support better formatting of numbers.
Refactor List Data Structure
A significant change has been made to the structure of a certain list (list2
). The type of data stored in the list has been changed from a pair of an Integer and Component (Pair<Integer, Component>
) to a pair of two Components (Pair<Component, Component>
). It will expand the type of data the list can handle.
Score Value Formatting
New logic was added to handle numberFormatOverride
, which allows customization on how the score value is displayed. The scores can now be formatted differently depending on the use case.
Update ScoreboardState Class
In our ScoreboardState
class, which is part of the game's score tracking system, we have shifted from using Integer
to Component
for the score value. It means an improved way to represent scores beyond just numerical values.
Ah right. Have been busy with other mods, so no progress was made on Exordium(tbh waiting for 1.20.5 for that). Looks good.
Pretty simple fix for support of 1.20.3 NumberFormat.
Fixes #134