使用分组轻松实现附魔互斥
为什么需要附魔分组
在大型整合包中,许多模组都自带了各自的附魔。虽然模组通常会声明其自身附魔之间的互斥关系,但来自不同模组的附魔往往可以随意叠加,尽管从逻辑上讲,它们不应同时作用于同一件工具或护甲上。这带来了一系列问题:
- 玩家无需做出有意义的选择。像原版那样进行专精化变得没有必要
- 玩家最终获得的装备拥有过多的附魔,使他们几乎成为全能的强者
附魔分组解决方案
Enchantment Groups 试图以沉浸式且符合原版风格的方式解决该问题。使用 Enchantment Groups:玩家无需手动处理附魔冲突。无需命令、无需额外物品、避免工具提示框杂乱无章 对整合包制作者而言,易于设置和维护
配置文件
配置格式非常简单。通过 JSON 文件,你可以创建附魔分组。该组内的所有附魔被视为彼此互斥。每个分组由一个名称标识。该名称本身不具备功能,而是供整合包制作者使用,以便赋予描述性名称,从而阐明“为何如此设定”。
注意:不会修改已存在的附魔互斥关系(如原版定义或由其他模组定义的),允许原版和其他模组继续正常运行。请勿对此提出质疑。
配置示例
如果你要定义类似原版中存在的附魔互斥关系,配置大致如下。- 保护类附魔不可叠加
- 近战伤害类附魔不可叠加
- 效率(Fortune)和精准采集(Silk Touch)互斥
- 弓不能同时使用无限(Infinity)和经验修补(Mending)
- 弩不能同时使用多重射击(Multishot)和穿透(Piercing)
- 三叉戟可以同时拥有忠诚(Loyalty)和引雷(Channeling),但它们都不能与激流(Riptide)共存
{ "protection": [ "minecraft:protection", "minecraft:blast_protection", "minecraft:fire_protection", "minecraft:projectile_protection" ], "melee_damage": [ "minecraft:bane_of_arthropods", "minecraft:smite", "minecraft:sharpness" ], "mining": [ "minecraft:fortune", "minecraft:silk_touch" ], "bow": [ "minecraft:infinity", "minecraft:mending" ], "trident1": [ "minecraft:loyalty", "minecraft:riptide" ], "trident2": [ "minecraft:channeling", "minecraft:riptide" ], "crossbow": [ "minecraft:multishot", "minecraft:piercing" ] }
Easy to set up Enchantment Exclusivity using Groups
Why Enchantment Groups
In big modpacks, a lot of mods come with their own enchantments. While mods declare Enchantments mutually exclusivity between their own Enchantments, most often all Enchantments from different mods can be combined, despite from a logical standpoint should not be used together on the same tool or armor piece.That brings up a list of issues:
- Players do not have to make meaningful choices. There is no need to specialize, like in vanilla
- Players end up with equipment that have so many enchantments, that they are pretty much omnipotent beings
Enchantment Groups Solution
Enchantment Groups tries to resolve that problem immersively and vanilla-like. Using Enchantment Groups:Players never have to resolve enchantment conflicts manually. No commands, no additional items, no screen cluttering tooltips Easy to set up and maintain for modpack makers
Config
The config format is as easy as can be. Via json, you are able to create groups of enchantments. All enchantments in that group are considered mutually exclusive to one another.Each group is identified by a name. This name serves no function in itself, but is there for modpack makers to give a descriptive name to make the 'why' understandable.
Note: Existing enchantment exclusivity, like defined in vanilla or by other mods is not modified, allowing vanilla and mods to do their thing. Don't ask for it.
Config Example
If you were to define enchantment exclusivity like it exists in vanilla, it would look somewhat like this.- Protection enchantments cannot be combined
- Melee enchantments cannot be combined
- Fortune and Silk Touch are mutually exclusive
- Bow cannot use both Infinity and Mending
- Crossbow cannot use both Multishot and Piercing
- Tridents can use Loyalty and Channeling combined, but both cannot be combined with Riptide
{ "protection": [ "minecraft:protection", "minecraft:blast_protection", "minecraft:fire_protection", "minecraft:projectile_protection" ], "melee_damage": [ "minecraft:bane_of_arthropods", "minecraft:smite", "minecraft:sharpness" ], "mining": [ "minecraft:fortune", "minecraft:silk_touch" ], "bow": [ "minecraft:infinity", "minecraft:mending" ], "trident1": [ "minecraft:loyalty", "minecraft:riptide" ], "trident2": [ "minecraft:channeling", "minecraft:riptide" ], "crossbow": [ "minecraft:multishot", "minecraft:piercing" ] }
下载 Enchantment Groups
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Enchantment Groups
下载 Enchantment Groups
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Enchantment Groups
下载 Enchantment Groups
下载 Enchantment Groups
下载 Enchantment Groups
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Enchantment Groups
下载 Enchantment Groups
下载 Enchantment Groups
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复了专用服务器上未正确处理所有模组附魔的问题
- 大幅减小了文件大小
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧