GaldurFonts
classclient onlysince 1.0.0com.galdurstudio.galdurui.api.text.GaldurFonts
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
PACKAGEapi.text
SIDEclient only
THREADclient thread
Fields 1
TITLE
staticpublic static final ResourceLocation TITLE
Title font, galdurui:title.
Methods 1
title
staticpublic static MutableComponent title(Component text)
PARAMETERS
textComponent—
RETURNSMutableComponent — a copy of text in the title font
See alsoGuide : Title font · Discord ↗