CustomVillager
功能
- 自定义村民交易。
- 使村民无敌。
- 限制村民移动,防止其游荡。
- 保护村庄。
- 更改村民职业。
- 为村民命名。
1.2 版支持 CB 1.7.2 至 1.7.9(NMS 和 OCB 1_7_R1、1_7_R2 和 1_7_R3)。
1.4 版额外支持 CB 1.7.10(NMS 和 OCB 1_7_R4)。
我目前正在开发防止村民更新交易的功能。
简介
Minecraft 的原生经济体系是物物交换系统。可以说,其原生货币是绿宝石。CustomVillager 通过允许你自定义交易、赋予村民上帝模式以及防止其游荡,扩展了村民的实用性。
概述
首先,输入 /cvspawn 生成一个村民。添加配方的步骤是先添加购买和出售物品。手持物品时输入 /cvbuy。该物品将被添加到配方中。最多可以向配方中添加两个购买物品。使用 /cvsell 添加一个出售物品。最后,输入 /cvadd 将该配方添加到村民的交易列表中。若要清除配方并重新开始,请输入 /cvclear。
要选择另一个村民,请输入 /cvselect,然后右键点击一个村民。若要取消选择,请输入 /cvcancel。
选中村民后,输入 /cvgod on 使其无敌。如果不带参数输入 /cvgod,将显示所选村民是否无敌。脆弱的村民会像 Minecraft 原版那样自然更新其交易,随着使用次数增加而添加新交易。将村民设置为无敌状态还可以防止服务器更改其交易。
可以使用 /cvname 命令更改村民的名字。可以使用 /cvprofession 命令更改村民的职业。
权限
所有命令均需权限:customvillager.* 或 OP。
命令
- cvspawn [name] [profession]
- 在玩家位置生成一个村民。可选择性地按任意顺序指定 name 和 profession。
可能的职业有:FARMER, LIBRARIAN, PRIEST, BLACKSMITH, BUTCHER
- cvselect
- 别名:cvs
- 选择一个村民。输入 /cvs 然后右键点击一个村民。
- cvcancel
- 取消村民选择,并将选择恢复至上一次选中的村民。
- cvrelease
- 释放或取消选择村民。
- cvkill
- 移除选中的村民。
- cvname [name]
- 别名:cvn
- 为村民命名;如果未提供参数,则取消命名。
- cvprofession [FARMER|LIBRARIAN|PRIEST|BLACKSMITH|BUTCHER]
- 别名:cvp
- 设置或显示村民职业。
- cvinvulnerable [on|off]
- 别名:cvgod
- 设置或当未提供参数时,显示所选村民的无敌状态。
- cvinventory
- 别名:cvi
- 列出选中村民的库存。
- cvbuy
- 将手中的购买物品/数量添加到配方中。一个购买配方最多可添加两个物品。
- cvsell
- 将手中的出售物品添加到配方中。
- cvclear
- 清除购买和出售物品。
- cvadd
- 将通过 /cvbuy 和 /cvsell 创建的配方添加到选中村民的交易列表中。
- cvdelete <index>
- 从选中村民的交易列表中删除索引为 index 的库存条目。使用 /cvinventory 列出村民的库存。
- cvconfine
- 别名:cvc
- 将村民限制在玩家所在位置。
CustomVillager
Features
- Customize villager offers.
- Make villagers invulnerable.
- Confine villagers to prevent them from wandering.
- Protect villages.
- Change villagers professions.
- Name villagers.
Version 1.2 supports CB 1.7.2 through 1.7.9 (NMS and OCB 1_7_R1, 1_7_R2 and 1_7_R3).
Version 1.4 additionally supports CB 1.7.10 (NMS and OCB 1_7_R4).
I'm currently working on preventing the villager from updating offers.
About
Minecraft's native economy is the barter system. Arguably, its native currency is the emerald. CustomVillager extends the usefulness of the villager by allowing you to customize offers, give them god mode and prevent them from wandering.
Overview
First, spawn a villager by typing /cvspawn. Recipes are added by first adding buy and sell items. Type /cvbuy with an item in-hand. The item will be added to the recipe. Up to two buy items may be added to the recipe. Add one sell item using /cvsell. Finally, type /cvadd to add the recipe to the offers of the villager. To clear a recipe and start over, type /cvclear.
To select another villager, type /cvselect and then right-click a villager. To cancel selection, type /cvcancel.
Make a villager invulnerable by selecting it and then type /cvgod on. Without parameter, /cvgod will tell you if the selected villager is invulnerable. Vulnerable villagers can update their own offers as they naturally do in Minecraft, adding to them as they are used. Setting a villager to invulnerable will also prevent the offers from being changed by the server.
A villager's name may be changed using the /cvname command. A villager's profession may be changed using the /cvprofession command.
Permissions
All commands use permission: customvillager.* or OP.
Commands
- cvspawn [name] [profession]
- Spawns a villager at the player's location. Optionally name and profession may be specified in any order.
Possible professions are: FARMER, LIBRARIAN, PRIEST, BLACKSMITH, BUTCHER
- cvselect
- alias: cvs
- Select a villager. Type /cvs and then right-click a villager.
- cvcancel
- Cancel villager selection and restore selection to last selected villager.
- cvrelease
- Release or unselect a villager.
- cvkill
- Remove the selected villager.
- cvname [name]
- alias: cvn
- Name or if no parameter is provided, unname a villager.
- cvprofession [FARMER|LIBRARIAN|PRIEST|BLACKSMITH|BUTCHER]
- alias: cvp
- Set or display a villager profession.
- cvinvulnerable [on|off]
- alias: cvgod
- Set or when no parameter is provided, display vulnerability for selected villager.
- cvinventory
- alias: cvi
- List selected villagers inventory.
- cvbuy
- Add buy item/quantity in hand to recipe. Up to two items may be added to a buy.
- cvsell
- Add sell item in hand to recipe.
- cvclear
- Clear buy and sell items.
- cvadd
- Add recipe created with /cvbuy and /cvsell to selected villager's offers.
- cvdelete <index>
- Delete the inventory at index from selected villager's offers. Use /cvinventory to list villager's inventory.
- cvconfine
- alias: cvc
- Confine villager to player location.
评论 0
登录后参与评分
还没有评论,来抢沙发吧