Aller au contenu
galdurdocs

GaldurFormat

classclient uniquementdepuis 0.1.0

com.galdurstudio.galdurui.api.text.GaldurFormat

Pas encore traduit : texte d’origine en anglais.

Formats the amounts shown by Galdur UI. Plain Java: usable anywhere, including on the server and in unit tests.

public final class GaldurFormat
PAQUETapi.text
CÔTÉclient uniquement
THREADthread client

Méthodes 2

amount

static
public static String amount(long amount)

PARAMÈTRES

amountlongthe amount; a negative value shows as 0

RENVOIEString — an amount abbreviated to fit in an item slot

Code source ↗

fullAmount

static
public static String fullAmount(long amount)

PARAMÈTRES

amountlongthe amount; a negative value shows as 0

RENVOIEString — the exact amount, thousands separated by a narrow no-break space

© 2026 Galdur Studio · galdurstudio.com · Discord · LGPL-3.0-onlyProduit non officiel. Non approuvé par Mojang ou Microsoft, ni associé à eux.