1.16.1 Custom fonts in 1.16

Discussion in 'Spigot Plugin Development' started by Harry0198, Aug 2, 2020 at 8:07 PM.

Thread Status:
Not open for further replies.
  1. So I've been looking at trying to take advantage of these new fonts in 1.16 however, the documentation of this feature is well... undocumented. Looking at the java docs for it: https://docs.phoenix616.dev/bungee-chat/index.html?net/md_5/bungee/api/chat/BaseComponent.html to my surprise, the method #setFont actually takes a String with no other mention of what would be put in there. I've tested Font.<some font> and it's thrown an error.

    So, if anyone knows what are some valid fonts / where can I find some proper documentation for this feature please drop it below.

  2. Resolved.

    For those that are looking at this thread in the future here's the solution:

    Turns out that there are only 3 more fonts that you can use, those being:
    * uniform
    * alt (enchanting table)
    * default

    These are used by proving a Minecraft key into the #setFont
    For Example:

    Code (Text):
Thread Status:
Not open for further replies.