• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Citizens/编辑器

来自Minecraft插件百科
Qsefthuopq留言 | 贡献2018年10月14日 (日) 07:58的版本 (创建页面,内容为“Editors are used to further edit NPCs in easy ways. These are things considered too complex to require just commands to edit. In all editors, you must type the assoc...”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

Editors are used to further edit NPCs in easy ways. These are things considered too complex to require just commands to edit. In all editors, you must type the associated command once to enter the editor, and again to exit it. You can only be in one editor at a time.

文本编辑器

Command: /npc text

Editing a NPC's text is simple. Follow the in-game directions to add, edit, and remove text from NPCs. A NPC being a "random-talker" means that it will repeat random phrases from its list of text. If "random" is false, it will loop through the text linearly. Changing its close-talker setting by typing "close" will toggle whether a NPC talks when a player comes within 5 blocks. If close is false, the NPC will only talk when it is clicked with the configurable talk-item. If close is true, it will only talk when a player comes near.

Note that players need the citizens.npc.talk permission to hear NPCs!

Important note: Type 'exit' in chat to close the editor!

Also see Text Syntax

路径点编辑器

Command: /npc path


See the Waypoints page for more information.

Equipment Editor

Command: /npc equip


Equipment is things like armor, held-items, and other visible features on NPCs. Only some NPC types can have their equipment edited.

Generic

With the new mob equipment updating in 1.4.5, any mobs not listed here will default to the Human equipping style. Note that the equipment may not display properly on all mobs as some do not support it.

热呢李 (普通 NPCs)

Human NPCs can have their armor and held item modified. To give armor to a NPC, right-click one with armor in your hand. The armor is placed on the NPC's body. Any item or armor that was previously on a NPC will be removed and dropped to the ground. To place armor in a NPC's hand, crouch and right-click. To clear all items, right-click the NPC with no items in your hand.

末影人

Enderman NPCs can have their carried material modified. The only valid materials that an enderman can hold are blocks - most items do not appear on the client. Note that certain "utility" blocks such as sign posts, silverfish blocks, etc. do not appear on the client either. Click with no items in your hand to remove blocks from the enderman NPC.

Sheep NPCs can have their wool color and sheared status modified. To shear, right-click with shears like your normally would. To un-shear a sheep NPC, click it with the shears again. To change the wool color, click the sheep NPC with dye. Clicking with anything but dye in your hand will turn the sheep NPC white and drop the dye on the ground.

Pig NPCs can have saddles added and removed from them. Simply right-click the pig NPC with a saddle in hand. Clicking with any other item in your hand will remove the saddle from the pig NPC.

客户端问题

There are known clientside issues with some equipment editors. If you are experiencing an issue, it is likely clientside. Try relogging and if necessary restarting your server. If you still think the issue is present, report an issue here.