Die, NBT!
简介
安装此模组后,你可以配置在死亡时哪些物品栏中的物品会丢失其 NBT 数据,或者选择指定所有模组中的物品均执行相同操作。
当然,本模组主要面向整合包开发者。
随着 2.0 版本的发布,该模组功能已完善!
当前功能包括:
- 从特定物品或特定模组的所有物品中清除死亡时的 NBT 数据
- 选择死亡时从物品中清除哪些 NBT 字段
- Curios 兼容性
- 选择是否清除背包、护甲槽或 Curios 槽位中的物品
- 大量有用的命令,帮助你构建模组的配置文件
命令
命令前缀为 "die_nbt"。
例如,你可以输入 "/die_nbt help" 来获取关于模组命令的帮助。
目前最有用的命令是 "/die_nbt everything"。
所有绿色输出均可直接复制粘贴!

配置
以下是默认配置。

这到底有什么用?我需要使用场景。
我是如何想到这个主意的
当我制作一个专为朋友设计的 PVP 主题整合包(仍在开发中)时,我想到了这个主意。这个整合包包含许多技术类和魔法类模组。基本上,这个整合包包含了 Psi 和 Hex Casting 等模组。而我的一些朋友——假设他们不太聪明——就像维京人一样,是一群只知道掠夺和战斗的野蛮人。上帝保佑,别让那些粗鲁的家伙碰我精心制作的 OP 魔法物品,否则它们可能会毁灭世界。我不能让这种事发生。所以,如果让我的魔法物品在我死亡时丢失 NBT 数据,那么上面附魔的程序化魔法就会被清除,这样我就安全了(整个服务器也安全了)。
贡献
欢迎提出新功能建议。
你可以在 Discord 上联系我。
致谢
骷髅图标来自 Game-Icons.net,虽然经过了我轻微的修改,但仍属于 CC BY 3.0 许可协议。
Die, NBT!
Summary
With this mod installed, you can configure which items in your inventory will lose their NBT data when you die, or select mods where all items will do the same.
This mod is targeted at modpack developers, of course.
With the release of version 2.0, the mod is now feature complete!
Current features are:
- Clear NBT on death from specific items or all items from specific mods
- Select which NBT fields get cleared from items when you die
- Curios compatilibity
- Chose if you want to clear items from inventory, armor slots or curios slots
- A lot of helpful commands to help you build config for the mod
Commands
Commands are available under a prefix "die_nbt".
For example, you can type "/die_nbt help" to get help about commands from the mod.
The most useful command by far is "/die_nbt everything".
All green output is copy-pastable!

Config
Here is a default config.

How Is This Even Helpful? I Need Use-Cases.
How I Came Up With the Idea
So, when I was making a modpack (still in development) all about PVP for my friends, which featured many technical mods as well as magic mods, I came up with this idea. Basically, this modpack includes mods like Psi and Hex Casting. And some of my friends — let's say they're not very bright. They are like Vikings, barbarians who only know how to loot and fight. And God forbid those brutes get their hands on my carefully crafted OP magic stuff, which could destroy worlds. I just cannot let that happen. So, if I make my magical items lose their NBT data upon my death, all programmed magic will be cleared from them, and I'll be safe (as well as the entire server).
Contributing
You are welcome to suggest new features.
You can contact me on discord.
Credits
The skull icon was taken from Game-Icons.net, though slightly modified by me, and therefore falls under CC BY 3.0 license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧