跳到正文

Firacode Font

作者:teehee567

firacode font based on caxton

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Fira Code for Minecraft

This resource pack uses the original Fira Code 6.2 font for Minecraft’s default text. Caxton renders the font, and Respackopts adds a settings button to the Resource Packs screen.

homepage screenshot
settings menu

Install

  1. Install Caxton, Respackopts, and Respackopts’ required LibJF for your Minecraft version. For 26.2, use Fabric or NeoForge.
  2. Download the ZIP for your version from dist. For 26.2, use FiraCode-configurable-Caxton-MC26.2.zip. Put the ZIP in your resourcepacks folder without extracting it.
  3. Enable the pack in Options > Resource Packs. Click its settings button to choose the font weight and style.

The menu has separate weights for normal and bold text: Light, Regular, Retina, Medium, SemiBold, and Bold. You can also make normal text upright or oblique. Minecraft’s italic formatting always uses the oblique face. The defaults are Regular upright for normal text and Bold for bold text.

Versions and Modrinth uploads

There is one ZIP per stable Minecraft version with a published Caxton build, from 1.18.2 through 26.3. Upload the matching ZIP for each Minecraft version on Modrinth and list Caxton, Respackopts, and LibJF as required dependencies. The settings button needs a version of Respackopts for your mod loader.

To rebuild a single version or all versions, run:

$env:UV_CACHE_DIR = "$PWD/.uv-cache"
uv run --python 3.12 --no-project --with fonttools==4.66.1 python build.py --version 26.2
uv run --python 3.12 --no-project --with fonttools==4.66.1 python build.py --all

The ZIPs are written to dist/<Minecraft version>/.

License

The upright fonts come from the official Fira Code 6.2 release. Fira Code is licensed under the SIL Open Font License 1.1; the license is also included in every ZIP.

The font setup follows Caxton’s provider documentation. The settings use Respackopts’ config format and resource expansion.

常见问题

Firacode Font 支持哪些 Minecraft 版本?

Firacode Font 支持 Minecraft Java 版 1.18.2–26.3,共 27 个版本。下载时注意选择和你游戏版本一致的文件。

Firacode Font 怎么安装?

把下载的 .zip 文件(不用解压)放进游戏目录的 resourcepacks 文件夹,进游戏后在「选项 → 资源包」里把它移到右边启用。

评论

登录后评论和评分