未鉴定的附魔
本模组会隐藏战利品物品上的附魔,使其以与在附魔台中发现时一样不可读的方式呈现。
这些战利品物品可以通过鉴定卷轴进行鉴定,该卷轴需从玩家处吸收 5 级经验(可在服务器配置中修改)。
将鉴定卷轴放置在未鉴定物品的上方,卷轴将被消耗,并随机鉴定出一个附魔。
为了鼓励玩家鉴定其武器和盔甲上的战利品,添加了一些诅咒效果。
- 饥饿诅咒:在使用工具或受到伤害时,你会消耗更多的饥饿值。
- 重量诅咒:当此诅咒应用于你的盔甲时,你在水中的移动速度会变慢。
- 失眠诅咒:当此诅咒应用于你的盔甲时,你不能在床上睡觉。
- 虚荣诅咒:没有任何效果,但你不知道这一点 ;p
- 疯狂诅咒:时不时地,一只无害的苦力怕会在你附近生成并爆炸,但不会造成伤害。只有你能看到它。
当附魔未被隐藏时该怎么办:
附魔未被隐藏主要有两个原因:
如果物品是在模组结构箱子里找到的,我的战利品过滤器未能检测到它们。你可以在 GitHub 上提交问题,并注明该结构属于哪个模组。我会将其添加到过滤器中以修复此问题。
如果只有部分附魔未被隐藏,说明在我隐藏附魔后,其他模组也对战利品进行了修改。为了解决这个问题,需要更改我们“全局战利品修饰符”的顺序。这听起来可能很复杂,但我添加了一个命令来帮助你,请参阅“全局战利品命令”。
全局战利品命令
本模组使用全局战利品修饰符来更改战利品表。如果“hiddenloot”修饰符在其他模组添加所有附魔/物品之前被调用,可能会导致问题。因此,该修饰符必须位于列表底部。但如果不知道存在哪些修饰符,更改顺序可能会很困难,所以我添加了一个命令来提供帮助。
/globalloot:将当前全局战利品修饰符列表导出到“config”目录。文件名为“global_loot_modifiers.json”。这对整合包制作者排序很有用。
/globalloot replace:用一个新的全局战利品修饰符替换当前的,其中“hiddenloot”修饰符排在最后。这是在自定义整合包中修复某些附魔未被隐藏的简单方法。其他修饰符的顺序保持不变。对于整合包:这是通过制作一个覆盖全局战利品修饰符的数据包来实现的。这意味着在已经拥有数据包的整合包上,可能会造成一些问题。
/globalloot delete:删除由/globalloot replace创建的全局战利品修饰符覆盖。
制作于 chmodcontest 期间
感谢 demonikhunter 提供的精美纹理!
Unidentified Enchantments
This mod hides the Enchantments on loot items, making them appear in the same way you find them in the enchantment table, unreadable.
These loot items can be identified with a Scroll of Identification, after it has absorbed 5 levels (can be changed in the serverconfig) from the player.
By placing a Scroll of Identification on top of an unidentified item, the scroll will be consumed and a random enchantment will be identified.
To incentivize identifying your loot weapons and armor, a couple of curses have been added.
- Curse of Hunger: While using the tool, or taking damage, you will use more hunger.
- Curse of Weight: While this curse is applied to your armor, you will be slower in the water.
- Curse of Insomnia: While this curse is applied to your armor, you can not sleep in a bed.
- Curse of Vanity: Does nothing, but you don't know that ;p
- Curse of Madness: Every so often, a harmless creeper will spawn close to you and blow up, dealing no damage. You are the only person who can see it.
What to do when an enchantment is not hidden:
There are 2 main reasons for an enchantment to not be hidden:
If the item is found in a modded structure's chest, my loot filter did not detect them. You can make an issue on github and mention which mod the structure belongs to. I'll add it to the filter to fix it.
if only some enchantments are not hidden, some other mod has also modified the loot after I've hidden it. To solve this the order of our "global loot modifiers" needs to be changed. This might sound complex but I've added a command to help you, see "Global Loot command".
Global Loot command
This mod uses global loot modifiers to change loot tables. This might cause issues if the "hiddenloot" modifier is called before all enchantments/items have been added by other mods. For that reason this modifier must be at the bottom of the list. But changing the order can be hard if you don't know which modifiers are present so I've added a command to help.
- /globalloot : Exports the current list of global loot modifiers to the "config" directory. The file will be named "global_loot_modifiers.json". This can be useful for pack makers to order them.
- /globalloot replace : Replaces the current global loot modifiers with one that has the "hiddenloot" modifier as the last one. This is the simple way to fix that some enchantments are not hidden in custom modpacks. The order of other modifiers are not changed. For modpacks: This is achieved by making a datapack with a global loot modifiers overwrite. This means that on packs that already have a datapack it might create some issues.
- /globalloot delete : Removes the global loot modifiers overwrite made by /globalloot replace.
made during dechmodcontest
thanks to demonikhunter for the awesome texture!
评论 0
登录后参与评分
还没有评论,来抢沙发吧