这个数据包可以帮助你轻松创建自定义村民。适用于服务器管理员或地图制作者。交易次数无限且无法被阻止。
获取村民创造工具包
/function vg.xtabay:give/villager_creator_kit
使用方法
村民创造棍
将你想要村民交易的物品按从左到右的顺序放入箱子中:第一个购买物品、第二个购买物品(可选)、出售物品。这意味着每 3 个格子用于一个单独的交易行,每个箱子最多支持 9 次交易。每次交易必须遵循此结构:[所需物品] [所需物品](可选) [提供物品],如果不符合此结构,物品将被忽略且交易不会被添加。

完成用此结构填充箱子后,右键点击箱子即可生成村民。
所有由村民创造生成的村民默认拥有 40 颗心,并且是皮革工匠和雪原村民。它们还骑在一个方块展示实体上,因此无法移动或被推动。
添加交易棍
将与村民创造数据包生成的村民相邻的箱子按照与村民创造棍相同的步骤操作,但这次使用的是添加交易棍。完成后,箱子中的所有交易都会被添加到最近的村民身上,随后箱子会被删除。
村民属性棍
这根棍子允许你完全自定义你的村民。
你可以修改以下值:
- 职业
- 类型
- 名称(自定义名称、样式、颜色、可见性)
- 无敌状态
- 生命值
- 大小
- 静音
村民清除棍
右键点击由村民创造数据包生成的任何村民即可将其消灭。
This datapack will help you create custom villagers very easily. Meant for server administrators or map creators. Trades are infinite and unblockable.
Get the Villager Creator Kit
/function vg.xtabay:give/villager_creator_kit
USE.
Villager Creator Stick
Put all the items you want your villager to trade in a chest in this order, from left to right: 1st buy item, 2nd buy item, sell item. This means every 3 slots are used for a single trade row, up to a maximum of 9 trades per chest. Every trade must have this structure: [Required Item] [Required Item](optional) [Offered Item], if they don't have this structure, the items will be ignored and the trade won't be added.

Once you're done filling a chest with this structure, right click it with a Villager Creator Stick and the villager will be created.
All villagers created by Villager Creator have 40 heart containers, are leatherworkers and snow villagers by default. They're also riding a block display so they can't move or be moved.
Add Trade Stick
Put a chest next to a villager created with the Villager Creator datapack and repeat the same process as with the Villager Creator Stick but using the Add Trade Stick this time. Once done, all the trades in the chest will be added to the nearest villager and the chest will be deleted.
Villager's Properties Stick
This stick allows you to fully customize your villagers.
These are the values you can modify:
- Profession
- Type
- Name (custom name, styling, color, visibility)
- Invulnerability
- Health
- Size
- Silent
Villager Eraser Stick
Kill any villager created by the Villager Creator datapack by right clicking it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧