TransWikia.com

How do I change the Base font to an OTF in Minecraft?

Arqade Asked on November 26, 2020

In Minecraft 1.16, fonts were updated to support Hex Colors, Emojis and Custom Fonts..

Custom fonts could be loaded into chat via Commands using a Resource Pack

However, it seems that if I want to change the base default font, I still need to use the dumb texture maps with all the characters on them:

enter image description here

However, making these is EXTREMELY time consuming, and inefficient.

Since we now have support to use OTF / FNT / TTF fonts in chat with commands, and I’ve heard you can also use them for the default font… Can someone show me how to do this? I’m utterly confused

Oh, and, specifically, I’m trying to load Telegrama_Render as the default font. If you need it for some reason, heres a copy on my firebase site: https://deepworld.web.app/telegrama_render.otf

One Answer

I don't know about OTF or FNT, but this is definitely possible with TTF. You need to make a simple resource pack. I'll sketch out how to do this.

A resource pack is a (zipped) folder with some stuff in it: stuff you're adding to the game, and a few text files spelling out to the game what to do with it all.

In the top level of your folder, you need:

  1. a text file called pack.mcmeta
  2. a folder called assets

You can make pack.mcmeta in Notepad or any text editor. It can be as short as one line.

{"pack":{"pack_format":6,"description":"WORDS FOR RESOURCE PACK SELECTION SCREEN"}}

(If you also want a custom picture displayed in the resource pack selection screen, name it pack.png and include the PNG in this folder also.)

In the folder called assets, you want:

  1. a folder called minecraft

which has only one thing in it:

  1. a folder called font

which has two things in it:

  1. a text file called default.json
  2. a TTF font file

You make default.json in a text editor like before with pack.mcmeta, and this isn't massively longer.

{
  "providers": [
    {
      "type":"ttf",
      "file":"minecraft:YOUR_FONT_FILE.ttf",
      "shift":[0,0],
      "size":16,
      "oversample":20
    }
  ]
}

Replace the bit in CAPS with your file's name. Then zip everything up into a compressed folder (pack.mcmeta and the assets folder should be the top layer), call it anything you like, and that's your resource pack.

Load it into Minecraft like any other.

You'll likely need to mess around with the numbers in default.json to make it all look decent (I don't know anything about that wizardry), so set aside a bit of time for a few attempts.

The Minecraft Wiki is worth looking at if you're going to be doing a bunch of this stuff. https://minecraft.gamepedia.com/Resource_Pack#Fonts

Correct answer by blighthouse on November 26, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP