> 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/citizens.md).

# Citizens

## 重新设置 Citizens NPC 的外观

你可以使用自定义模型作为任何 Citizens NPC 的皮肤。

{% hint style="success" %}
这个插件不需要 Citizens 才能工作，但有些服务器可能需要使用它来创建 NPC。
{% endhint %}

### 更改模型

将 NPC 类型设置为 `ZOMBIE`：\
`/npc type ZOMBIE`

{% hint style="warning" %}
不要使用 `PLAYER` 作为类型，它会导致头部/身体旋转问题。
{% endhint %}

然后使用 **ItemsAdder** 命令更改皮肤：\
`/iaentity citizens <id|selected> model <model>`\
在这个例子中：`/iaentity citizens <id|selected> model custom:barman_robot`

### 静音

你可以使用此命令静音 NPC，更多信息请参见 [Citizens wiki](https://wiki.citizensnpcs.co/Commands)。\
`/npc sound -n`

### 使头部旋转

你可以使用此命令让 NPC 看向附近的玩家，更多信息请参见 [Citizens wiki](https://wiki.citizensnpcs.co/Commands)。\
`/npc look`

### 完成

![](/files/nOewcwpnDRGULno5UUAa)

## 播放动画

你可以使用此命令播放动画：`/iaentity citizens <id|selected> anim play <animation>`

![](/files/c57j6lJnvMF3AsIzMw6N)


---

# 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/citizens.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.
