# 字体图像

### 什么是字体图像？

此功能允许你创建可以用于制作：**GUI**、**HUD**、**表情符号**、自定义字符、[**自定义玩家前缀**](broken://pages/l4VLSCNbGl5KsCTxh72J)和你能想象到的任何其他内容的图像！（你可以将这些图像放在任何文本中）。

## 教程

{% content-ref url="/pages/l4VLSCNbGl5KsCTxh72J" %}
[Broken mention](broken://pages/l4VLSCNbGl5KsCTxh72J)
{% endcontent-ref %}

{% content-ref url="/pages/dVjUAUIbTh6nJo3mflS4" %}
[表情](/chinese/cha-jian-shi-yong-fang-fa/adding-content/font-images/emojis.md)
{% endcontent-ref %}

## 使用特定字符

如果你没有包含 `symbol` 属性，ItemsAdder 将为你决定自定义字符。\
你不必为每个 `emoji`/`font_image` 担心，但如果你确实需要指定用于自定义 `font_image` 的自定义字符，你可以使用特殊属性 `symbol`。

#### 例如：

```yaml
smile:
  permission: smile
  show_in_gui: true
  path: "font/emoji/smile.png"
  symbol: "鄿"
  scale_ratio: 9
  y_position: 8
```

Minecraft 将在你每次在聊天中输入 `鄿` 时显示笑脸表情符号。

## 我不关心 ItemsAdder font\_image，我想自己处理 `default.json`

你可以这样做，你只需要创建一个 `default.json` 文件并自行处理。

{% content-ref url="/pages/08mCBRQPHFcax0MEFSd0" %}
[手动创建字体图像](/chinese/cha-jian-shi-yong-fang-fa/adding-content/font-images/manually-creating-font-images.md)
{% endcontent-ref %}

## 使用字体图像功能创建的内容示例

![](/files/-MhU2mH_pfAsn88P1yBw)

![](/files/X8wuOxl4go62Lb1uu4Gw)

![](/files/-MhU3a-jks7Sk2BY3zHO)

![](/files/-MhU3c0D-ePfrxTyQjkx)

![](/files/-MhU3ecFX07STe4860KZ)


---

# Agent Instructions: 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:

```
GET https://itemsadder.devs.beer/chinese/cha-jian-shi-yong-fang-fa/adding-content/font-images.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
