[UA] Unified Algorithm

Resolve the issue of disjointed critical strike probability/critical strike damage between Critical Strike and Apotheosis critical strike mods.

⚔️ Unified Algorithm ⚔️

Crit was meant to be like this. Two systems? One resolver. They weren't kidding.

undefined


🎭 You think you're playing with crits? They're all watching.

You installed Critical Strike, threw in Apotheosis, and happily stacked a full set of crit affixes.

Then you swing once. The affixes might as well not exist. Critical Strike's particles still flash as usual, but the damage doesn't change at all. You start questioning reality: bro? Where's my crit investment?

Unified Algorithm is here to end this farce:

Make Critical Strike the sole crit resolver, then honestly bridge Apotheosis and other mods' crit stats into it.


⚙️ How It Does It

  1. Crit Bridging (CritBridge): Every player tick (server-side only, idempotent write): accumulates the "portion above default value" of external attributes in the bridge list into Critical Strike's innate crit modifier (critical_strike:innate_bonus). Without changing a single line of Critical Strike's code, melee, ranged (projectile owner checks), and batch crits all work naturally.
  2. Anti-Double-Crit (Mixin): When Critical Strike is present, Apotheosis (Apothic Attributes)' built-in crit roll for player attacks is suppressed, so the same hit won't crit twice
  3. Safe Fallback: Critical Strike not installed? Bridging automatically sleeps. Apotheosis not installed? The anti-double-crit mixin naturally doesn't apply. Then what are you even installing this mod for?

🧩 Compatibility: Whoever's Present Calls the Shots

Mod Status
Critical Strike ✅ Primary target (crit resolver, the one true god)
Apotheosis 8.9+ / Apothic Attributes 2.10+ ✅ Default bridge + anti-double-crit
Other crit mods 🔧 Add their crit stats to the config and they can be bridged. Don't be shy.

🔧 Configuration

In-game: Mods screen > Unified Algorithm > Config, or edit config/unified_algorithm-common.toml directly.

Option Default Description
bridgeEnabled true Whether to enable crit bridging*
bridgeAttributes The two Apotheosis entries Bridge attribute list, format; the portion of attribute values above default is added as a decimal to CS's innate crit chance / damage multiplier. Entries for mods that aren't installed are skipped automatically
suppressExternalPlayerCrits true While Critical Strike is present, suppresses other mods' built-in crit rolls for player attacks (mobs are unaffected; if they should crit, they still crit)

Extension example: to bridge another crit mod, just add a line to bridgeAttributes, e.g.:

[[bridgeAttributes]]
    "some_mod:crit_chance;chance"

📦 Version Requirements

Dependency Version Required
Minecraft 1.21.1 ✅
NeoForge 21.1.252+ ✅
Critical Strike 1.0.4+ Recommended (this mod sleeps if not installed)
Apotheosis 8.9.0+ Optional

📜 License

MIT (Copyright (c) 2026 LOVE_U987)

[UA] Unified Algorithm Team

profile avatar
  • 2
    Followers
  • 11
    Projects
  • 29.8K
    Downloads

Come on, let's have a big fight!💯

More from LOVE_U987View all

  • Enchanted Outlines project image

    Enchanted Outlines

    Each enchantment type is assigned a unique color identifier, allowing you to instantly comprehend the power of the item in your hand

    • 21.6K
    • October 11, 2026
  • [ISS LM]Legendary Mage project image

    [ISS LM]Legendary Mage

    Legendary Mage is a magic expansion mod for Minecraft NeoForge 1.21.1 built on top of ​Iron's Spellbooks​. It features a brand-new Elemental Reaction System alongside a collection of uniquely designed spells.

    • 2.3K
    • October 11, 2026
  • [AN]Adaptive Nemesis project image

    [AN]Adaptive Nemesis

    The dynamic difficulty balancing module specifically designed for integration packs aims to address the issue of difficulty imbalance in current mainstream integration packs, where the early game is too easy and the late game is too challenging.

    • 1.1K
    • October 1, 2026
  • NeoPasterDream project image

    NeoPasterDream

    NeoPasterDream is the spiritual successor of the classic PasterDream mod on Minecraft 1.21.1 NeoForge.

    • 1.7K
    • October 1, 2026
  • Enchanted Outlines project image

    Enchanted Outlines

    Each enchantment type is assigned a unique color identifier, allowing you to instantly comprehend the power of the item in your hand

    • 21.6K
    • October 11, 2026
  • [ISS LM]Legendary Mage project image

    [ISS LM]Legendary Mage

    Legendary Mage is a magic expansion mod for Minecraft NeoForge 1.21.1 built on top of ​Iron's Spellbooks​. It features a brand-new Elemental Reaction System alongside a collection of uniquely designed spells.

    • 2.3K
    • October 11, 2026
  • [AN]Adaptive Nemesis project image

    [AN]Adaptive Nemesis

    The dynamic difficulty balancing module specifically designed for integration packs aims to address the issue of difficulty imbalance in current mainstream integration packs, where the early game is too easy and the late game is too challenging.

    • 1.1K
    • October 1, 2026
  • NeoPasterDream project image

    NeoPasterDream

    NeoPasterDream is the spiritual successor of the classic PasterDream mod on Minecraft 1.21.1 NeoForge.

    • 1.7K
    • October 1, 2026