GaldurFonts
classclient uniquementdepuis 0.1.0com.galdurstudio.galdurui.api.text.GaldurFonts
Pas encore traduit : texte d’origine en anglais.
Brand fonts, applied to a text through its style.
TITLE is the title font: Fredoka SemiBold, round and bold like the Galdur logo,
under the SIL Open Font License 1.1 (assets/galdurui/font/fredoka_OFL.txt). It is
described by assets/galdurui/font/title.json, so a resource pack can replace it.
Characters missing from it (emoji, non-Latin scripts...) come from the Minecraft font.
Component title = GaldurFonts.title(Component.literal("Storage"));GaldurWindow titles (addTitle) and GaldurContainerScreen titles
already use it.
public final class GaldurFonts
PAQUETapi.text
CÔTÉclient uniquement
THREADthread client
Champs 1
TITLE
staticpublic static final ResourceLocation TITLE
Title font, galdurui:title.
Méthodes 1
title
staticpublic static MutableComponent title(Component text)
PARAMÈTRES
textComponent—
RENVOIEMutableComponent — a copy of text in the title font
Voir aussiGuide : Police de titre · Discord ↗