#✅ | custom font
1 messages · Page 1 of 1 (latest)
To use a custom font in text content, load the font via a resource pack and add it to Minecraft’s font list. Then wrap the text you want in FancyMenu like this:
%!!your_font_name%This text uses the custom font%!!%
Place the %!!fontname% before the text and close it with %!!% after. The example on the Text Formatting page shows how to do this and reminds you that the font must exist in a resource pack that’s loaded at runtime. 😊
i loaded my fonts in my resource packs, how to add them to minecraft's font list?
I’m sorry, but the FancyMenu documentation doesn’t cover how to register custom fonts in Minecraft’s font list. You’ll need to consult Minecraft resource-pack/font documentation or other modding guides for that part.
for the font name in the text, should i put the ttf file name?
You don’t use the .ttf file name directly. The %!!fontname%…%!!% wrapper expects the font identifier that your resource pack exposes (the value you use in the pack’s font JSON). For example, vanilla includes uniform, so you’d type %!!uniform%My text%!!%.
If your pack registers a font under "yourmod:myfont", use that exact identifier. The Text Formatting page has the full syntax and an example. ✨
This support thread has been automatically marked as solved because there were no new messages for at least 24 hours.
If you still need help, feel free to continue the conversation or create a new support thread.