一个适用于 Forge 和 NeoForge 的小型服务端模组,用于为那些未设置或错误设置 loot 分类的武器和护甲模组补充 Apotheosis 的分类分配。在 Forge 上,它通过 Apotheosis 的 IMC 覆盖 API 发送分类;在 NeoForge 1.21.1 上,它通过 Apotheosis 数据映射添加分类。
Apothic 分类兼容性兼容 一个适用于 Forge 和 NeoForge 的小型服务端模组,用于为那些未设置或错误设置 loot 分类的武器和护甲模组补充 Apotheosis 的分类分配。在 Forge 上,它通过 Apotheosis 的 IMC 覆盖 API 发送分类;在 NeoForge 1.21.1 上,它通过 Apotheosis 数据映射添加分类。 版本 1.20.1 和 1.19.2 (Forge): 通用攻击速度和伤害规则加上按模组的模块,通过 IMC 发送。1.19.2 的模组列表较短。 1.21.1 (NeoForge): 数据映射。Apotheosis 8.x 自行对大多数装备进行排序并合并了其分类(一个近战武器分类,采矿工具的 breaker),因此此构建填补了 Apotheosis 留下的空白。 其功能 (Forge) Apotheosis 使用 loot 分类来决定物品可以滚动的词缀和宝石插槽。许多模组武器要么没有分类,要么被赋予错误的分类,导致词缀永远不会出现在它们身上。它在加载时发送正确的分类。 通用规则根据攻击速度将近战武器分为 sword 或 heavy_weapon(1.0 或更慢读取为 heavy,或 10.0+ 伤害提升为 heavy)。弓、弩、三叉戟、镐、铲、盾牌和护甲来自原版类层次结构。属性是实时读取的,因此如果模组在运行时更改它们,它仍然有效。读取还回退到堆栈级属性,因此 Epic Fight 风格的武器(奇迹之剑巨斧)也会被捕获。 在模组加载后运行第二次传递,以捕获那些在延迟初始化期间统计信息确定的武器。 Apotheosis 硬编码了一些默认值,这些默认值优先于此处设置的分类( minecraft:iron_sword 作为 sword, minecraft:shulker_shell 作为 none)。 按模组模块 将这些模组中的物品路由到正确的分类(sword, heavy weapon, bow, crossbow, trident, shield, none,以及当存在 Fallen Gems & Affixes 时通过 staffs 或 sword):L'Ender's Cataclysm, Twilight Forest, Epic Fight (base, Nightfall, Resurrection), Weapons of Miracles, Tetra, Marium's Soulslike Weaponry, Meet Your Fight, Dungeons and Combat, Alex's Caves, Alex's Mobs, Aquamirae, Born in Chaos, Forbidden and Arcanus, Traveloptics, Celestisynth, The Undergarden。 1.19.2 覆盖的列表较短,包含 Epic Samurai 而不是某些仅存在于 1.20.1 的模组。 由通用规则处理 这些模组扩展了正确的原版类或具有真实的攻击统计信息:Simply Swords, Integrated Simply Swords, Spartan Weaponry, Spartan Shields, Epic Knights, Samurai Dynasty, Dread Steel, Iron's Spellbooks, Mowzie's Mobs, Bosses of Mass Destruction, Deeper and Darker, Knight Quest, Enigmatic Legacy, Malum, RPG Style More Weapons, Cataclysm 自己的近战武器和盾牌,以及任何具有原版类武器或攻击伤害属性的其他内容,加上护甲。 分类设置 两个切换开关位于 apothic_category_compat-common.toml 中。编辑并重启以应用。 name_based_heavy_override (自 v2.1.0 起默认为开启):包含重型武器名称(greatsword, claymore, zweihander, warhammer, halberd, glaive, battleaxe, lance, scythe 等)的 ID 进入 heavy_weapon,以 "sword" 结尾的 ID 进入 sword。现有配置保留其先前值,因此将其设置为 true 或删除配置以采用新默认值。 武器_镐子_重型 (默认启用):灾变虚空熔炉与地狱熔炉、禁术与奥拉努斯铁匠铺的各级别锻造锤,以及暮色森林湮灭立方体归类为 heavy_weapon。禁用则将其分类为 pickaxe。 配置 配置文件位于 config/apothic_category_compat-common.toml 。在首次启动 v2.1.0 或更高版本时,它将从旧版 apothic_compat-common.toml 迁移过来,因此您的设置会保留。每项和每标签的覆盖设置: [item_overrides] "ruins:greatsword" = "heavy_weapon" [tag_overrides] "simplyswords:greathammers" = "heavy_weapon" 有效类别:剑、重型武器、三叉戟、弓、弩、盾牌、头盔、胸甲、护腿、靴子、镐、铲子、无。将物品设置为“无”可使其不生成任何词缀。其他模组注册的类别(例如来自 Fallen Gems & Affixes 的法杖)也会被接受。 1.21.1 NeoForge(Apotheosis 8.x) 通过 NeoForge 数据映射进行覆盖,路径为 data/apotheosis/data_maps/item/loot_category_overrides.json . 这些模组将物品路由到正确的分类(远程武器到弓,双头叉到三叉戟,法杖和镰刀到Apothic Compats的法杖和镰刀分类,最后两项仅在同时加载了Apothic Compats和Malum时生效):L'Ender's Cataclysm, Alex's Caves, Alex's Mobs, Born in Chaos, The Undergarden, Twilight Forest, Lands of Icaria, Iron's Spellbooks, Ice and Fire, Ice and Fire Spellbooks, Forbidden and Arcanus, Mahoutsukai, Deeper Darker, the Aether, 以及 Traveloptics。 双用途镐(Cataclysm的熔炉和Forbidden Arcanus的铁匠锤)通过 #apothic_category_compat:weapon_pickaxes 物品标签进入近战武器类别。 The weapon_pickaxes_as_melee 配置切换(默认开启)通过数据映射条件限制此功能;将其设置为 false 以保留其为断路器。从您自己的数据包扩展标签以覆盖更多范围。 词缀黑名单 阻止特定词缀在新生成的装备上随机生成。在 affix_blacklist 数组中列出词缀 ID: affix_blacklist = ["apotheosis:sword/attribute/vampiric", "apotheosis:heavy_weapon/attribute/berserking"] 词缀 ID 匹配 JSON 文件路径,例如 data/apotheosis/affixes/sword/attribute/vampiric.json 是 apotheosis:sword/attribute/vampiric 。在 1.21.1 版本中,路径顺序变为 attribute/<category>/<name> ,因此相同的词缀在该版本中为 apotheosis:attribute/sword/vampiric 。 仅阻止未来的随机生成;已携带黑名单词缀的物品将保留该词缀。在服务器启动、数据包重载和 /acc reload . 重载命令 /apothiccategorycompat reload 或 /acc reload (op 等级 2) 在 Forge 上重新读取配置并重新应用。在 1.21.1 版本中,它会重新读取词缀黑名单;数据映射遵循正常的数据包流程 /reload . 要求 1.20.1: Forge 47.x, Apotheosis 7.4.x. 1.19.2: Forge 43.x, Apotheosis 6.5.x. 1.21.1: NeoForge 21.1.x, Apotheosis 8.5 或更高版本. 在客户端和服务器端安装,以便在 Forge 上正确显示词缀属性和宝石插槽加成。在 1.21.1 版本中,数据映射和词缀黑名单在服务器端运行,Apotheosis 将类别同步到客户端。 许可证 MIT
在鱼乐云资源中心浏览该资源,登录后可一键安装到你的游戏服务器。