实体标签修复
一款小型 NeoForge 模组,将模组添加的实体加入其所属的原版实体类型标签中,从而使原版战斗机制对它们生效。仅涉及数据和标签,未进行任何代码修补或 Mixin 注入。
功能说明
许多原版战斗行为由实体类型标签决定。例如,“神罚”(Smite)以及治疗/伤害药水效果依赖 minecraft:undead(不死族)标签;袭击和“不祥之兆”依赖 minecraft:raiders(掠夺者)标签;“节肢杀手”(Bane of Arthropods)依赖节肢动物标签。然而,只有当模组自身将其实体加入这些标签时,模组添加的实体才会被包含在内。许多模组并未这样做,因此模组骷髅不会受到“神罚”的额外伤害且会被治疗药水治愈,模组灾厄村民会被袭击跳过,而“节肢杀手”对模组蜘蛛无效。
Mob Tag Fixes 将这些遗漏的实体补充到相应的标签中。所有条目均为软性添加,即如果你未安装某个模组,则会跳过该条目而非引发错误,并且是扩展原版标签而非覆盖。
覆盖范围
不死族(Undead):涵盖来自 Iron's Spells、Cataclysm Spellbooks、Traveloptics 和 GameTechBC 的召唤骷髅、僵尸和杜格瑞(draugr),以及来自 Born in Chaos、Alex's Mobs、Alex's Caves 和 Mutant Monsters 的不死生物。
掠夺者与灾厄村民(Raiders and illager):涵盖 Iron's Spells 中的 Archevoker 以及 It Takes a Pillage 中的强盗派系。
节肢动物(Arthropod):涵盖来自 Alex's Mobs、Ars Nouveau、Cataclysm 和 Iron's Spells 的模组昆虫和甲壳类生物。
配置
在 config/mob_tag_fixes-common.toml 中提供按模组独立的配置文件,可关闭任意模组的添加项。其中明确的条目与边界情况(如幽灵、南瓜骑士和无头类型)被拆分为单独的开关,以便你保留所需内容并关闭不需要的内容。将某组设为 false 后,这些实体将不会被加入标签。由于添加项仅为纯标签文件,数据包也可以移除单个条目。
注意事项
仅限服务端使用。对所支持的模组无硬性依赖,且可在现有世界中安全地添加或移除。如果你使用 Extra Damage Enchantments 来利用其额外的伤害分类,本模组可与之一同工作。
要求
Minecraft 1.21.1, NeoForge。其余均为可选。
许可证
MIT
Mob Tag Fixes
A small NeoForge mod that adds modded mobs to the vanilla entity type tags they belong in, so vanilla combat mechanics work on them. Pure data and tags, nothing is patched or mixin'd.
What it does
A lot of vanilla combat behavior is decided by entity type tags. Smite and the healing and harming effect use minecraft:undead, raids and Bad Omen use minecraft:raiders, and Bane of Arthropods uses the arthropod tag. However, a modded mob is only in those tags if its own mod added it there, and many mods do not, so a modded skeleton takes no extra damage from Smite and is healed by a Potion of Healing, a modded illager is skipped by raids, and Bane of Arthropods does not work on a modded spider.
Mob Tag Fixes adds those mobs to the tags they were left out of. Every entry is soft, so a mod you do not have is skipped instead of causing an error, and the vanilla tags are extended rather than overwritten.
What it covers
Undead covers the summoned skeletons, zombies, and draugr from Iron's Spells, Cataclysm Spellbooks, Traveloptics, and GameTechBC, along with the undead from Born in Chaos, Alex's Mobs, Alex's Caves, and Mutant Monsters.
Raiders and illager covers the Iron's Spells Archevoker and the It Takes a Pillage bandit faction.
Arthropod covers the modded insects and crustaceans from Alex's Mobs, Ars Nouveau, Cataclysm, and Iron's Spells.
Config
A per mod config at config/mob_tag_fixes-common.toml turns off any mod's additions, with the clear entries and the borderline ones like spirits, pumpkin knights, and headless types split into separate switches, so you can keep what you want and turn off what you do not. Set a group to false and those mobs stay out of the tags. A datapack can also remove individual entries, since the additions are plain tag files.
Notes
Server side only. No hard dependency on any supported mod, and it is safe to add or remove from an existing world. It works alongside Extra Damage Enchantments if you use that for its extra damage categories.
Requirements
Minecraft 1.21.1, NeoForge. Everything else is optional.
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧