Requirements

How it works

Font textures are images that are placed onto specific characters, most often these are Unicode characters.

Step 1: Prepare your resource pack

To override Unicode characters, you will need to create a new file called default.json. Inside of that file, you will add this:

Untitled

{
   "providers":[
      {
         "file":"custom/icons/thumbs_up.png",
         "chars":[""],
         "ascent": 16,
         "height": 16,
         "type":"bitmap"
      }
   ]
}

Let’s quickly break down what this all means:

”file” is the path to the texture. Please note that this cannot be over 256x256, and it must end with .png.

"chars" is the Unicode character that you are overriding. You can find a list of Unicode characters here.

"ascent" is the vertical offset of the character, measured in pixels. This can be negative.

"height" is the height/scale of the character. It is also measured in pixels, and can also be negative.

<aside> ⚠️ Keep in mind that the “ascent” value cannot be higher than the “height” value.

</aside>

Step 2: Add your texture

Next, we’ll be adding our texture. This is as easy as dropping your texture into the path you specified in step 1.

Untitled

<aside> 💡 Keep in mind that font textures cannot be larger than 256x256!

</aside>

Step 3: Finished!

Perfect! Now, we can head in-game and look at our creation. You can use this anywhere you want. Simply copy and paste the character you used in default.json (step 1), and boom:

You’re done!

You’re done!