附魔台中的诅咒
一个非常简单的数据包,利用快照 24w18a 中添加的数据驱动附魔系统,使所有诅咒与常规附魔一同出现在附魔台中。诅咒的表现方式如同常规附魔,这意味着它们可以是可见的(如截图所示),也可以是隐藏的。
此包实际上只修改了 Minecraft 数据中的一行内容,因此这可能是实现该功能最简单的方法。
兼容性
由于此包仅使用 Minecraft 内置的“curse”标签,它应该与几乎所有添加诅咒的模组和数据包兼容。它可能与那些从根本上重构附魔机制的模组不兼容。
我的 Enchanting Stuffs 合集中的所有项目彼此兼容。此外,我还测试了其他几个项目的兼容性:
- Apothic Enchanting (Apotheosis): ✅ 确认兼容。
- Better Enchanting: ❌ 不兼容 - 诅咒不会显示在附魔台中。虽然 Better Enchanting 确实提供了一种通过配置文件轻松配置自定义附魔的方法(详细信息请参阅其页面),从而使它们兼容,但它似乎无论如何都会阻止诅咒出现。
- Combat+: ✅ 确认兼容。
- DunChanting: ✅ 确认兼容。但是,由于 DunChanting 每个槽位始终只应用一个附魔,因此在附魔之前你总是能知道是否会获得诅咒,从而可以避开它。
- Enchantments Encore: ✅ 确认兼容。
- Easy Magic: ✅ 确认兼容。
- Enchancement: ✅ 确认兼容。但是,默认情况下,Enchancement 允许你在禁用隐藏附魔的同时选择你的附魔,这意味着你可以轻松避免获得不想要的诅咒。幸运的是,Enchancement 提供了广泛的配置选项;若要使这种组合有意义,你必须编辑这些选项。
- Enchantica: ✅ 确认兼容。
- Enchanting Infuser: ✅ 确认兼容。
- Enchanting Tomes: ✅ 确认兼容。
- Enchants Plus: ✅ 确认兼容。
- Incantationem: ✅ 确认兼容。但是,由该模组添加的 4 个诅咒仅在附魔台未被书架完全充能时才会显示,这是因为它们的最大消耗值设定为 25,低于完全充能的附魔台所提供的消耗。如果希望如此,可以通过使用数据包覆盖
data/incantationem/enchantment/<id-of-the-curse> 文件中的 max_cost 字段,或者直接更改 .jar 中的该文件来实现。
- Just a lot more enchantments: ✅ 确认兼容。但是,与 Incantationem 类似,某些诅咒默认情况下不会在全充能的附魔台中显示。
- More Enchants: ✅ 确认兼容。但是,同样地,巨人诅咒(Curse of Giantism)和渺小诅咒(Curse of Smallism)的最大消耗分别设定为 10 和 7,这意味着它们在附魔台完全充能时将不会显示。
- Nadir: ✅ 确认兼容。
- RPG Enchanting: ❗ 不必要 - 诅咒无论如何都会在 RPG 附魔台中显示,因此你可以移除此数据包。但是,由于该模组并未覆盖原版附魔台的功能,而是添加了一个新方块并覆盖了配方,你仍然可以使用旧的原版附魔台,只要你能提供另一种制作或获取它的方式,此包可能仍然相关。
许可证
此包采用 CC0 许可,意味着你可以自由地使用它做任何事情。
Curses in Enchantment Table
A very simple datapack that uses the data-driven enchantment system added in snapshot 24w18a to make all curses appear in the enchantment table, in addition to regular enchants. Curses will function like regular enchants, meaning that they can be visible, like in the screenshots, but could also be hidden.
This pack effectively modifies one single line of Minecrat's data, so it's probably the most simple way to do so.
Compatibility
Since this pack only makes use of minecraft's built-in "curse" tag, it should be compatible with nearly all mods and datapacks that add curses. It might not work with mods that fundamentally overhaul how enchanting works.
All projects in my Enchanting Stuffs collection are compatible with each other. Additionally, I have tested a few other projects for compatibility:
- Apothic Enchanting (Apotheosis): ✅ Confirmed compatible.
- Better Enchanting: ❌ Incompatible - curses won't show up in the table. While Better Enchanting does provide a way to easily configure custom enchantments through a configuration file (more details at their page) and thus make them compatible, it seems to always prevent curses from appearing regardless.
- Combat+: ✅ Confirmed compatible.
- DunChanting: ✅ Confirmed compatible. However, since DunChanting only ever applies one enchantment per slot, you'll always know whether you're going to get a curse before enchanting and can thus avoid it.
- Enchantments Encore: ✅ Confirmed compatible.
- Easy Magic: ✅ Confirmed compatible.
- Enchancement: ✅ Confirmed compatible. However, by default, Enchancement will let you choose your enchantments while also disabling hidden enchantments, meaning you can easily avoid getting unwanted curses. Luckily, Enchancement offers extensive configuration options; you'd have to edit those for this combination to make any sense.
- Enchantica: ✅ Confirmed compatible.
- Enchanting Infuser: ✅ Confirmed compatible.
- Enchanting Tomes: ✅ Confirmed compatible.
- Enchants Plus: ✅ Confirmed compatible.
- Incantationem: ✅ Confirmed compatible. However, the 4 curses added by the mod will only show up when the enchantment table is not fully powered up by bookshelves, which is due to them having a maximum cost value of 25, which is less than what a fully-powered enchantment table provides. If wanted, this can be changed by overwriting the
max_cost field in the data/incantationem/enchantment/<id-of-the-curse> file using datapacks, or by changing that file directly in the .jar.
- Just a lot more enchantments: ✅ Confirmed compatible. However, like with Incantationem, some curses by default won't show up in a fully-powered enchantment table.
- More Enchants: ✅ Confirmed compatible. However, again, the Curse of Giantism and Curse of Smallism have their max costs set to 10 and 7 respectively, meaning they won't show up when the enchantment table is fully powered up.
- Nadir: ✅ Confirmed compatible.
- RPG Enchanting: ❗ Unnecessary - curses will show up in the RPG enchanting table anyways, so you can remove this datapack. However, since the mod does not override the functionality of the vanilla enchanting table, but rather adds a new block and overrides the recipe, you can still use the old vanilla enchanting table, for which this pack might still be relevant, provided you add another way to craft or otherwise obtain it.
License
This pack is licensed under CC0, which means that you are free to do whatever with it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧