> For the complete documentation index, see [llms.txt](https://itemsadder.devs.beer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://itemsadder.devs.beer/chinese/cha-jian-shi-yong-fang-fa/adding-content/fonts/method-1.md).

# TTF 字体

该方法允许你添加 .ttf 字体文件来自定义字体

## 示例自定义字体

![](/files/-M3g87o7leRlVZJR0KAA)

To this you have to:

* [此处](http://matteodev.it/spigot/itemsadder/res/v2/font.zip)下载日文字体
* 将内容放至 `plugins\ItemsAdder\contents\japanese_font\resourcepack\assets\minecraft\font`
* 打开 config.yml 并设置 `custom-font enabled: true`
* 当然如果你正在使用[ dropbox 托管](/chinese/cha-jian-shi-yong-fang-fa/resourcepack-hosting/resourcepack-on-dropbox.md)你需要在服务器重启后重新上传 `generated.zip`

{% hint style="warning" %}
使用自定义 TTF 字体可能会引发 Minecraft 的 bug，从而导致游戏崩溃。

这只会在因特尔集显与一些旧版本游戏中发生，我无法修复这个 bug。[阅读更多](https://bugs.mojang.com/browse/MC-180529?jql=text%20~%20%22ttf%20crash%22).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://itemsadder.devs.beer/chinese/cha-jian-shi-yong-fang-fa/adding-content/fonts/method-1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
