> 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/mobs/advanced-method/head.md).

# 头颅

## 自定义实体头部旋转

{% embed url="<http://youtu.be/A20y3lo3Aic>" %}

你可以指定一个骨骼作为头部，并在基础实体AI旋转头部时自动旋转。

## 限制

{% hint style="warning" %}
头部骨骼旋转仅在头部离身体中心不太远的情况下有效。\
这可能会在未来得到修复，但目前没有解决方案。

例如：龙和类似的实体不能自动旋转头部以看向目标。
{% endhint %}

## 设置

### 配置头部骨骼

使用 **Blockbench** 打开你的 `.iaentitymodel` 模型文件。

选择头部的基础骨骼。

![](/files/88xnqzLMjuepY1cU93gZ)

右键点击骨骼并选择 "**Bone Config**"

![](/files/ros8lqYigFv8HhHViCNC)

勾选 "**Head**" 选项并点击 "**Confirm**"。\
你还可以决定X和Y轴旋转的最大角度。

![](/files/xVw3j5qlZFlSQqNQmpTk)

现在头部骨骼已经被标记为头部，如图所示（笑脸是头部骨骼）。

![](/files/GbZREv3ckNNE7ZV12irB)

### 配置眼睛高度（可选）

创建一个新骨骼，你可以随意命名，例如 `eyes_height`。

![](/files/hLUnWnzfUJo6t1bKayTM)

将骨骼放置在实体眼睛之间。

![](/files/27IW4YLYhUF05bKj7PMT)

右键点击骨骼并选择 "**Bone Config**"，然后选择 "Eyes height"。

![](/files/2PqAD9C5EZHRD9bIzyDO)

### 完成

现在你需要像往常一样导出模型。

{% content-ref url="/pages/Ohea0SX4AEq18dGON8I4" %}
[创建](/chinese/cha-jian-shi-yong-fang-fa/adding-content/mobs/advanced-method/creation.md)
{% endcontent-ref %}


---

# 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/mobs/advanced-method/head.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.
