GaldurFormat
classclient onlysince 0.1.0com.galdurstudio.galdurui.api.text.GaldurFormat
Formats the amounts shown by Galdur UI. Plain Java: usable anywhere, including on the server and in unit tests.
public final class GaldurFormat
PACKAGEapi.text
SIDEclient only
THREADclient thread
Methods 2
amount
staticpublic static String amount(long amount)
PARAMETERS
amountlongthe amount; a negative value shows as
0RETURNSString — an amount abbreviated to fit in an item slot
fullAmount
staticpublic static String fullAmount(long amount)
PARAMETERS
amountlongthe amount; a negative value shows as
0RETURNSString — the exact amount, thousands separated by a narrow no-break space
See alsoGuide : Item grids & terminals · Discord ↗