#✅ | custom font

1 messages · Page 1 of 1 (latest)

frail sonnet
#

how do i make text with custom font

ripe relicBOT
# frail sonnet how do i make text with custom font

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

frail sonnet
#

i loaded my fonts in my resource packs, how to add them to minecraft's font list?

ripe relicBOT
frail sonnet
#

for the font name in the text, should i put the ttf file name?

ripe relicBOT
# frail sonnet 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. ✨

ripe relicBOT
#
Thread Marked as Solved

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.