Cured Pork:一个防止猪人僵尸化的数据包
这是一个“原版增强”(vanilla-plus)数据包,允许玩家通过给予附魔金苹果来使猪人免疫僵尸化。
工作原理
猪人在前往主世界或末地时,通常会在 15 秒后僵尸化,除非它们拥有值为 true 的 NBT 标签 IsImmuneToZombification。
此数据包每秒运行一条命令,搜索任何手持附魔金苹果的猪人(或猪人蛮兵*),并赋予它们该标签。
*如果你能想办法让蛮兵捡起那个苹果的话
我为什么要用这个?
¯\_(ツ)_/¯ 那是你的私事。
也许你想在主世界建立一个猪人交易站。
也许你想通过这种手段轻松收集猪人头颅。
也许你在尝试创建一个动物园,并且发现很难在下界让你的海豚存活。
也许你正在进行一些《星际迷航》角色扮演,想要在你的舰桥船员中安排一名
Tellarite。
兼容性
此数据包已在以下版本上测试通过:
- 1.21.11-pre1
- 1.21.5
- 1.21.4
- 1.20.4
- 24w07a
- 1.16.2
并应在其间的所有版本中正常工作。
贡献
发现了 bug?有建议或问题?想贡献新功能或改进?
提交 Issue!
许可证
本项目中的所有代码和素材均由我 (@OpenBagTwo) 根据
GNU Affero 通用公共许可证 授权。从广义上讲,只要满足以下条件,便可在服务器、整合包或任何其他衍生作品中自由使用、修改和重新分发:
- 请注明本项目的作者(@OpenBagTwo 及其他贡献者)
- 你必须向使用该数据包的所有人(包括安装了该数据包的服务器上的玩家)提供本项目的完整源代码(包括任何修改内容)
- 对本项目或任何修改作品的任何再分发,必须保留此许可证。
Cured Pork: A Datapack for Immunizing Piglins from Zombification
This is a "vanilla-plus" datapack which allows the player to "immunize"
piglins from being zombified by giving them enchanted golden apples.
How It Works
Piglins
who travel to the Overworld of The End will normally zombify after
15 seconds unless they have the NBT tag IsImmuneToZombification with
a value of true.
This datapack runs a command every second that searches for any piglin
(or piglin brute*) that is holding an enchanted golden apple and gives
them that tag.
*if you can figure out how to get the brute to pick up the apple
Why Would I Want This?
¯\_(ツ)_/¯ That's your business.
Maybe you want to have a piglin bartering station in the overworld.
Maybe you're trying to cheese your way to collecting a piglin head.
Maybe you're trying to create a menagerie and are finding it difficult
to keep your dolphins alive in the Nether.
Maybe you're doing some Star Trek roleplay and want a
Tellarite
on your bridge crew.
Compatibility
This datapack has been tested on versions:
- 1.21.11-pre1
- 1.21.5
- 1.21.4
- 1.20.4
- 24w07a
- 1.16.2
and should work on all versions in between.
Contributing
Find a bug? Have a suggestion or a question? Want to contribute a new feature or enhancement?
Open an issue!
License
All code and assets in this project are licensed by me (@OpenBagTwo) under the
GNU Affero General Public License
and, broadly speaking, may be used, modified and re-distributed freely,
on servers, in modpacks or in any other derivative works, so long as:
- You credit the authors of this project (@OpenBagTwo and any other contributors)
- You make the full source code of this project (including any modifications)
available to everyone using the datapack (including players on servers where this
pack is installed)
- Any redistributions of this project or distributions of any modified works
retain this license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧