Aller au contenu
galdurdocs

GaldurFonts

classclient uniquementdepuis 0.1.0

com.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.

Example.java
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

static
public static final ResourceLocation TITLE

Title font, galdurui:title.

Méthodes 1

title

static
public static MutableComponent title(Component text)

PARAMÈTRES

textComponent—

RENVOIEMutableComponent — a copy of text in the title font

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