![Effectification [Effect Unification]](https://cdn.modrinth.com/data/efENFWZV/6f128ad8f93bacf0c6a261a05d7b98cf5c49e8d0_96.webp)
Effectification [Effect Unification]
A compatibility mod that unifies similar status effects from different mods to prevent duplication and improve cross-mod compatibility.
555
5
Effectification [Effect Unification] 1.0.4
Release1 мес. назад
Список изменений
Added
- Added
unidirectionalmode to prevent source mod handlers from triggering- Solves overlapping visual effects issue (e.g., cataclysm:stun + alexscaves:stunned causing motion sickness)
- When enabled,
entity.hasEffect(source)returns false, only target effect is active - Source mod handlers won't trigger, preventing duplicate screen shake/particles
- Example:
{"sourceEffect": "cataclysm:stun", "targetEffect": "alexscaves:stunned", "unidirectional": true}
- Added
extraApplyEffectTickoption to call additional effects' visual logic- Allows combining mechanics from one effect with visuals from another
- Target effect provides main logic, extra effects provide additional visuals (particles, sounds)
- Example:
{"sourceEffect": "cataclysm:stun", "targetEffect": "relics:stun", "extraApplyEffectTick": "alexscaves:stunned"} - Use case: Relics stun mechanics + AlexsCaves stun particles/screen shake
- Added
discardEffectTickoption to block specific effects' applyUpdateEffect()- Prevents unwanted side effects while keeping effect active for detection
- Useful for blocking damage/healing/other logic while preserving effect presence
- Example:
{"sourceEffect": "*:stun*", "targetEffect": "relics:stun", "discardEffectTick": "cataclysm:stun"} - Use case: Unify stun effects but block Cataclysm's specific logic (e.g., unwanted damage)
- Added default configuration combining all three features for stun effects
- General stun unification: bidirectional mode with AlexsCaves visuals for all stun effects
- Discard pattern: blocks applyUpdateEffect for all stun effects except relics and alexscaves
- Pattern:
*:stun* !*:stun*_immunity !*:stun*_resistance !relics:stun !alexscaves:stunned - Special Cataclysm override: unidirectional mode to prevent event-based handlers
- Cataclysm uses event-based logic (not applyUpdateEffect), so unidirectional is required
- Result: All stun effects unified with AlexsCaves visuals, only relics/alexscaves logic active
Changed
- Changed mapping priority system: later configs now override earlier configs
- Exact matches always take priority over wildcards
- Within wildcards, configs at the bottom override configs at the top
- Allows specific overrides of wildcard patterns by placing exact matches below
Fixed
- Fixed overlapping visual effects when multiple mods have handlers for similar effects
Файлы
effectification-forge-1.0.4.jar(119.25 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.4
Загрузчики
Forge
Версии игры
1.20.1
Загрузок
19
Дата публикации
1 мес. назад