Jump to content

Recommended Posts

Posted

is it possible to use a custom font in chat text? My best guess is that it would have to be created as a formatting code but I couldn't find anything about creating my own :/

Posted

I am quite certain that this will require access to client side (meaning it can't be server mod).

 

As to how to do it - FontRenderer can be extended and replaced (located in Minecraft.class) on startup. You could make extension that could e.g grab 1st character in string-to-render, and based on it - would change font. If you look at how text is rendered you should find how fonts are stored and how to use other fonts (e.g some languages/modpacks have different fonts). Can't be more precise (now) without IDE.

1.7.10 is no longer supported by forge, you are on your own.

Posted

You can also change the font server-side by sending a resource pack to the client when they log in, but clients can decline and it can take a while to download.

catch(Exception e)

{

 

}

Yay, Pokémon exception handling, gotta catch 'em all (and then do nothing with 'em).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.