Effectification
一个兼容模组,通过将来源效果替换为目标效果来统一来自不同模组的相似状态效果,防止重复并提升跨模组兼容性。
版本 2.0.0 – 现在同时支持 Fabric 和 Forge!
平台支持
- ✅ Fabric – 完全支持(2.0.0 新增!)
- ✅ Forge – 完全支持
- ?️ Architectury – 跨平台架构,实现无缝兼容
主要功能
- 效果替换 – 用目标效果完全替换来源效果,防止重复
- 放大器缩放 – 通过可配置的乘数控制效果强度在模组间的转换方式
- 回退支持 – 如果主目标模组缺失,则映射到次要效果
- 仅视觉模式 – 仅重命名效果而不改变机制(可选)
- 单向模式 – 阻止来源模组的处理程序触发,以避免重叠的视觉效果
- 额外效果刻 – 保留目标机制的同时添加其他模组的视觉效果
- 丢弃效果刻 – 阻止不需要的副作用,同时保留效果检测
工作原理
状态效果通过布尔检查(entity.hasEffect(EFFECT))工作。Effectification 通过以下方式统一相似的效果:
- 统一存储:所有来源效果在内部都存储为目标效果
- 透明查找(双向模式):
entity.hasEffect(source) → 自动重定向到 target → 如果 target 存在则返回 true
- 单一实例:只有一个效果实例(即 target),但在双向模式下所有来源变体都能检测到它
- 无重复:来自不同模组的各种流血效果合并为一个统一的流血效果
双向与单向
双向(默认):
- 来源和目标模组的处理程序都可以检测该效果
entity.hasEffect(source) → true(重定向到 target)
entity.hasEffect(target) → true
- 当两个模组都应响应该效果时使用
单向:
- 只有目标模组的处理程序可以检测该效果
entity.hasEffect(source) → false(无重定向)
entity.hasEffect(target) → true
- 阻止来源模组的处理程序触发
- 用于避免重叠的视觉效果(例如重复的屏幕震动)
支持的模组(开箱即用)
注意: 预配置的映射仅包含在 Forge 版本中。Fabric 用户从空配置开始,因为默认映射中的大多数目标模组在 Fabric 上不可用。您可以通过游戏内 GUI 或配置文件为 Fabric 兼容的模组添加自己的映射。
-
流血 (Bleeding): Hexalia, Turtleboi's Core Library, More RPG Classes, Relics, Apothic Attributes, Valoria, RunicLib → Majrusz's Progressive Difficulty(含回退选项)
-
冻结/寒冷 (Freeze/Chill): Turtleboi's Core Library, Mowzie's Mobs, More RPG Classes, Simply Swords, Eidolon → Iron's Spells 'n Spellbooks / Mowzie's Mobs
-
眩晕 (Stun): Goety, Turtleboi's Core Library, Hexalia, Cataclysm, More RPG Classes, Alex's Caves, Valoria → Relics
-
其他: 困惑、知识、枯竭、燃烧、冰冻等等!
-
涉及的所有模组 ID: hexalia, majruszsdifficulty, attributeslib, valoria, turtlecore, more_rpg_classes, relics, runiclib, irons_spellbooks, eidolon, mowziesmobs, simplyswords, ars_nouveau, goety, cataclysm, alexscaves, obscure_api, netherdepthsupgrade, alexsmobs, advs_spells_arts
配置
游戏内 GUI(2.0.0 新增!)

使用由 fzzyconfig 提供动力的内置配置 GUI 直接在游戏中编辑效果映射。
配置文件
主配置文件: config/effectification/effectification.toml
- 完全自定义的效果映射
- TOML 格式(比 JSON 更易读)
- 支持注释
- 自动从旧版 JSON 格式迁移
配置功能
- 通配符模式 – 一次统一多个效果:
"*:bleeding*" 匹配任何模组的所有流血效果
- 排除项 – 从通配符中排除特定效果:
"*:bleeding* !*:bleeding_immunity"(免疫效果不会被统一)
- 回退链 – 定义多个目标效果:
"primary, fallback1, fallback2"
- 放大器缩放 – 控制效果强度在模组间的转换方式
- 仅视觉模式 – 仅重命名效果而不改变机制
- 单向模式 – 阻止来源模组的处理程序触发
- 额外效果刻 – 添加其他模组的视觉效果(支持通配符)
- 丢弃效果刻 – 阻止不需要的副作用(支持通配符)
- 自定义映射 – 添加对使用标准 Minecraft 效果系统的任何模组的支持
- 自动迁移 – 配置版本控制系统在更新期间保留用户更改
示例 1:带排除项的通配符模式
发生的情况:
- 统一来自任何模组的所有流血效果:
hexalia:bleeding、relics:bleeding、valoria:bleeding 等
- 排除免疫/抗性效果:
majruszsdifficulty:bleeding_immunity 不会被统一(正常工作)
- 一个通配符映射替换了数十个单独的映射
- 安全且高效——免疫效果保持独立并功能正常
示例 2:眩晕效果统一
[[mappings]]
sourceEffect = "cataclysm:stun"
targetEffect = "relics:stun, more_rpg_classes:stun"
amplifierMultiplier = 1.0
onlyVisualChange = false
unidirectional = false
发生的情况:
- 药水给予
cataclysm:stun → 内部存储为 relics:stun
entity.hasEffect(cataclysm:stun) → true(重定向到 relics:stun)
entity.hasEffect(relics:stun) → true(实际存储的效果)
entity.hasEffect(more_rpg_classes:stun) → true(也重定向到 relics:stun)
- 所有眩晕变体统一为一个效果实例
- 如果未安装 Relics,则回退到
more_rpg_classes:stun
示例 3:带有回退机制的流血效果
[[mappings]]
sourceEffect = "relics:bleeding"
targetEffect = "majruszsdifficulty:bleeding, attributeslib:bleeding, valoria:bleeding"
amplifierMultiplier = 1.0
onlyVisualChange = false
unidirectional = false
发生的情况:
relics:bleeding → 存储为第一个可用的目标
- 优先级:Majrusz's PD → Apothic Attributes → Valoria
- 所有流血变体(
relics:bleeding、hexalia:bleeding 等)都重定向到同一目标
- 仅存在一个效果实例,但所有变体均可检测到它
- 防止来自不同模组的多个流血效果叠加
示例 4:单向模式(防止视觉重叠)
[[mappings]]
sourceEffect = "cataclysm:stun"
targetEffect = "alexscaves:stunned"
amplifierMultiplier = 1.0
onlyVisualChange = false
unidirectional = true
发生的情况:
- 药水给予
cataclysm:stun → 内部存储为 alexscaves:stunned
entity.hasEffect(cataclysm:stun) → false(无重定向!)
entity.hasEffect(alexscaves:stunned) → true
- Cataclysm 的处理程序不会触发(看不到该效果)
- 仅 AlexsCaves 的处理程序触发(能看到该效果)
- 结果:屏幕震动一次,而不是两个重叠的效果
- 防止因重复视觉效果引起的晕动症
示例 5:高级眩晕统一(结合所有功能)
[[mappings]]
sourceEffect = "*:stun* !*:stun*_resistance !*:stun*_immunity"
targetEffect = "relics:stun, alexscaves:stunned"
amplifierMultiplier = 1.0
onlyVisualChange = false
unidirectional = false
extraApplyEffectTick = "alexscaves:stunned"
discardEffectTick = "*:stun* !*:stun*_immunity !*:stun*_resistance !relics:stun !alexscaves:stunned"
发生的情况:
- 所有眩晕效果 → 统一为
relics:stun(如果未安装 Relics,则为 alexscaves:stunned)
- 双向模式:所有模组都可以检测到眩晕效果(兼容性)
- 额外刻:添加
alexscaves:stunned 粒子效果和屏幕震动
- 丢弃模式:阻止除 relics 和 alexscaves 之外的所有其他眩晕逻辑
- 结果:保持完全兼容,组合视觉效果,控制行为
- 仅激活 Relics 机制 + AlexsCaves 视觉效果,阻止所有其他眩晕逻辑
示例 6:仅视觉重命名
[[mappings]]
sourceEffect = "some_mod:custom_effect"
targetEffect = "minecraft:regeneration"
amplifierMultiplier = 1.0
onlyVisualChange = true
unidirectional = false
发生的情况:
- 效果保留原始机制
- 仅显示名称更改为目标效果
- 放大倍数不转换
Effectification
A compatibility mod that unifies similar status effects from different mods by replacing source effects with target effects, preventing duplication and improving cross-mod compatibility.
Version 2.0.0 – Now with full Fabric support alongside Forge!
Platform Support
- ✅ Fabric – Full support (NEW in 2.0.0!)
- ✅ Forge – Full support
- ?️ Architectury – Cross-platform architecture for seamless compatibility
Key Features
- Effect Replacement – Completely replaces source effects with target effects, preventing duplication
- Amplifier Scaling – Control how effect strength converts between mods with configurable multipliers
- Fallback Support – Maps to secondary effects if a primary target mod is missing
- Visual-Only Mode – Just rename effects without changing mechanics (optional)
- Unidirectional Mode – Prevent source mod handlers from triggering to avoid overlapping visual effects
- Extra Effect Tick – Add visual effects from other mods while keeping target mechanics
- Discard Effect Tick – Block unwanted side effects while preserving effect detection
How It Works
Status effects work through boolean checks (entity.hasEffect(EFFECT)). Effectification unifies similar effects by:
- Unified Storage: All source effects are stored as the target effect internally
- Transparent Lookup (Bidirectional mode):
entity.hasEffect(source) → automatically redirects to target → returns true if target exists
- Single Instance: Only one effect instance exists (the target), but all source variants can detect it (in bidirectional mode)
- No Duplication: Multiple bleeding effects from different mods become one unified bleeding effect
Bidirectional vs Unidirectional
Bidirectional (default):
- Both source and target mod handlers can detect the effect
entity.hasEffect(source) → true (redirects to target)
entity.hasEffect(target) → true
- Use when both mods should respond to the effect
Unidirectional:
- Only target mod handlers can detect the effect
entity.hasEffect(source) → false (no redirect)
entity.hasEffect(target) → true
- Prevents source mod handlers from triggering
- Use to avoid overlapping visual effects (e.g., duplicate screen shake)
Supported Mods (Out-of-the-box)
Note: Pre-configured mappings are included only in the Forge version. Fabric users start with an empty config because most target mods in the default mappings are not available on Fabric. You can add your own mappings for Fabric-compatible mods via the in-game GUI or config file.
-
Bleeding: Hexalia, Turtleboi's Core Library, More RPG Classes, Relics, Apothic Attributes, Valoria, RunicLib → Majrusz's Progressive Difficulty (with fallbacks)
-
Freeze/Chill: Turtleboi's Core Library, Mowzie's Mobs, More RPG Classes, Simply Swords, Eidolon → Iron's Spells 'n Spellbooks / Mowzie's Mobs
-
Stun: Goety, Turtleboi's Core Library, Hexalia, Cataclysm, More RPG Classes, Alex's Caves, Valoria → Relics
-
Other: Confusion, Knowledge, Sapped, Immolate, Freezing, and more!
-
All modids involved: hexalia, majruszsdifficulty, attributeslib, valoria, turtlecore, more_rpg_classes, relics, runiclib, irons_spellbooks, eidolon, mowziesmobs, simplyswords, ars_nouveau, goety, cataclysm, alexscaves, obscure_api, netherdepthsupgrade, alexsmobs, advs_spells_arts
Configuration
In-Game GUI (NEW in 2.0.0!)

Edit effect mappings directly in-game with the built-in configuration GUI powered by fzzyconfig.
Configuration Files
Main Config: config/effectification/effectification.toml
- Fully customizable effect mappings
- TOML format (more readable than JSON)
- Supports comments
- Automatic migration from old JSON format
Configuration Features
- Wildcard Patterns – Unify multiple effects at once:
"*:bleeding*" matches all bleeding effects from any mod
- Exclusions – Exclude specific effects from wildcards:
"*:bleeding* !*:bleeding_immunity" (immunity effects are NOT unified)
- Fallback Chains – Define multiple target effects:
"primary, fallback1, fallback2"
- Amplifier Scaling – Control how effect strength converts between mods
- Visual-Only Mode – Just rename effects without changing mechanics
- Unidirectional Mode – Prevent source mod handlers from triggering
- Extra Effect Tick – Add visual effects from other mods (supports wildcards)
- Discard Effect Tick – Block unwanted side effects (supports wildcards)
- Custom Mappings – Add support for any mod utilizing the standard Minecraft effect system
- Automatic Migration – Config versioning system preserves user changes during updates
Example 1: Wildcard Pattern with Exclusions
[[mappings]]
sourceEffect = "*:bleeding* !*:bleeding_immunity !*:bleeding_resistance"
targetEffect = "majruszsdifficulty:bleeding, attributeslib:bleeding"
amplifierMultiplier = 1.0
onlyVisualChange = false
unidirectional = false
What happens:
- Unifies ALL bleeding effects from any mod:
hexalia:bleeding, relics:bleeding, valoria:bleeding, etc.
- EXCLUDES immunity/resistance effects:
majruszsdifficulty:bleeding_immunity is NOT unified (works normally)
- One wildcard mapping replaces dozens of individual mappings
- Safe and efficient - immunity effects remain separate and functional
Example 2: Stun Effect Unification
[[mappings]]
sourceEffect = "cataclysm:stun"
targetEffect = "relics:stun, more_rpg_classes:stun"
amplifierMultiplier = 1.0
onlyVisualChange = false
unidirectional = false
What happens:
- Potion gives
cataclysm:stun → stored internally as relics:stun
entity.hasEffect(cataclysm:stun) → true (redirects to relics:stun)
entity.hasEffect(relics:stun) → true (actual stored effect)
entity.hasEffect(more_rpg_classes:stun) → true (also redirects to relics:stun)
- All stun variants are unified into one effect instance
- If Relics is not installed, falls back to
more_rpg_classes:stun
Example 3: Bleeding Effect with Fallbacks
[[mappings]]
sourceEffect = "relics:bleeding"
targetEffect = "majruszsdifficulty:bleeding, attributeslib:bleeding, valoria:bleeding"
amplifierMultiplier = 1.0
onlyVisualChange = false
unidirectional = false
What happens:
relics:bleeding → stored as first available target
- Priority: Majrusz's PD → Apothic Attributes → Valoria
- All bleeding variants (
relics:bleeding, hexalia:bleeding, etc.) redirect to the same target
- Only one effect instance exists, but all variants can detect it
- Prevents stacking of multiple bleeding effects from different mods
Example 4: Unidirectional Mode (Prevent Overlapping Visuals)
[[mappings]]
sourceEffect = "cataclysm:stun"
targetEffect = "alexscaves:stunned"
amplifierMultiplier = 1.0
onlyVisualChange = false
unidirectional = true
What happens:
- Potion gives
cataclysm:stun → stored internally as alexscaves:stunned
entity.hasEffect(cataclysm:stun) → false (no redirect!)
entity.hasEffect(alexscaves:stunned) → true
- Cataclysm's handler doesn't trigger (doesn't see the effect)
- Only AlexsCaves handler triggers (sees the effect)
- Result: One screen shake instead of two overlapping effects
- Prevents motion sickness from duplicate visual effects
Example 5: Advanced Stun Unification (Combining All Features)
[[mappings]]
sourceEffect = "*:stun* !*:stun*_resistance !*:stun*_immunity"
targetEffect = "relics:stun, alexscaves:stunned"
amplifierMultiplier = 1.0
onlyVisualChange = false
unidirectional = false
extraApplyEffectTick = "alexscaves:stunned"
discardEffectTick = "*:stun* !*:stun*_immunity !*:stun*_resistance !relics:stun !alexscaves:stunned"
What happens:
- All stun effects → unified to
relics:stun (or alexscaves:stunned if Relics not installed)
- Bidirectional mode: all mods can detect the stun effect (compatibility)
- Extra tick:
alexscaves:stunned particles and screen shake added
- Discard pattern: blocks all other stun logic except relics and alexscaves
- Result: Full compatibility maintained, combined visual effects, controlled behavior
- Only Relics mechanics + AlexsCaves visuals active, all other stun logic blocked
Example 6: Visual-Only Rename
[[mappings]]
sourceEffect = "some_mod:custom_effect"
targetEffect = "minecraft:regeneration"
amplifierMultiplier = 1.0
onlyVisualChange = true
unidirectional = false
What happens:
- Effect keeps original mechanics
- Only display name changes to target effect
- Amplifier is not converted
评论 0
登录后参与评分
还没有评论,来抢沙发吧