最新 README.md

AMAM VillagersRestricted
受够了村民农场破坏你的服务器体验?但又不想彻底禁用它们?想要一个简单的解决方案吗?
好吧,你刚刚找到了答案!
AMAM 是一个简单的数据包,旨在为每个 SMP 服务器带来平衡与和平。让所有村民变得无用……除非……

仅安装此数据包时,该物品不会自然生成!请向下滚动查看详情!!!
核心机制
- 删除所有没有特定标签的普通村民的交易列表
- 你必须消耗一个特定的物品,才能召唤带有该特定标签的村民
- 这些村民不会失去交易功能,因此仍然有用
- 获取该物品的原生方法已被移除(因为硬编码实现),本数据包仅提供核心机制
. . . 敬请期待,我很快会编写一个单独的数据包使其在生存模式中可获取 这里是让自定义物品在原版结构生成的数据包(1.21.5 及以上版本)
优势
- 用于召唤的特定物品只是一个带有自定义数据标签的原版物品——这意味着你可以完全独立地将其添加到自定义战利品表中
- 此数据包不会从世界中移除村民,因此不会通过使村庄空荡荡而破坏氛围
- 如果你将自定义物品设为稀有掉落物,这将是最平衡的方案:需要大量探索或巨大挑战才能获得丰厚奖励。同时,村民仍不会在你的世界中灭绝,仍允许后期大型项目的发展。
针对服务器管理员
- 用于召唤的物品是
minecraft:bread 或 minecraft:enchanted_book,并包含组件 minecraft:custom_data={amam_summon:true}。有一个命令可以给你带有其他组件的花哨物品,但除了这两个条件外,没有其他检查。只要你的物品满足这两个条件,就可以正常使用。
- 只包含两个函数,且都非常易于理解。

give/villager_tome 会给予一个可用于村民召唤的物品。再次说明,这会设置一堆额外内容,但这些内容并非满足召唤条件的必需项。对于低于 1.21.5 的版本,你可以在 give_old 文件夹中找到相关命令。
summon/from_villager_tome 是在消耗正确物品时运行的命令。它会召唤一个带有必要标签的村民。是的,从技术上讲,你可以在没有物品的情况下运行此命令,但在生存模式下,必须拥有并使用该物品才能触发此命令。
Freshest README.md

AMAM VillagersRestricted
Tired of villager farming ruining your servers? But still don't want to completely disable them? Want an easy fix?
Well, you have just found the solution!
AMAM is a simple datapack aiming to bring balance and peace for every smp server. Makes all villagers useless... Unless...

This item doesn't generate in itself when you only install this datapack! Scroll down for details!!!
Core mechanics
- Deletes every regular villager's offers, who don't have a specific tag
- You have to consume a specific item in order to summon a villager WITH said specific tag
- These villagers will not have their trades removed thus making them useful
- There is no native way for obtaining the said item, because it would be hardcoded, this datapack only provides the core mechanics
. . . but stay tuned, I will soon write a separate datapack for it to be obtainable in survival Here's the datapack which makes the custom item generate in vanilla structures (1.21.5 and above)
Benefits
- The specific item needed for summoning is just a vanilla item with a custom data tag - that means you can add this to a custom loot table totally independently
- This datapack doesn't remove villagers from your world so it won't ruin the athmosphere by making the villages empty
- If you make the custom item a rare loot, it will be the most balanced: something which requires a lot of exploring or a big challange and provide a big reward. And with this, villagers still won't be extinct from your world, still allowing mega projects in the late game.
For server admins
- The item needed for summoning is
minecraft:bread or minecraft:enchanted_book with the component minecraft:custom_data={amam_summon:true}. There is a command which gives you a fancy item with other components too but not anything else is checked besides the these two criteria listed. As long as your item meets these two conditions, it's good to go.
- There are only 2 functions included and they are pretty self explanatory.

The give/villager_tome will give an item which is usable for villager summoning. Again, this will have a bunch of extra stuff set which are not required to be present to fulfil the summoning's conditions. For versions below 1.21.5, you got the commands within the give_old folder.
The summon/from_villager_tome is the command that runs when the correct item is consumed. It summons a villager with the necessary tag. Yes, technically you can run this command without having the item but the command is not triggerable in survival without having and using the item.
评论 0
登录后参与评分
还没有评论,来抢沙发吧