promotional bannermobile promotional banner

Achievements Optimizer

Improved achievement performance
Achievement Optimizer recommended
Create a server, get 25% off your first monthaffiliate logo
Create Server
affiliate banner image

Achievements Optimizer is a lightweight performance mod that optimizes how item-based achievements and advancements are processed — reducing unnecessary inventory scans and improving overall tick efficiency.

It doesn’t change any gameplay mechanics or logic — only makes achievement checks faster and cleaner under the hood.

⚙️ Key Optimizations

  • Early tick skipping — heavy slot calculations (empty/occupied/full) are skipped early, preventing extra work per event.
  • Instant empty stack discard — with ignoreEmptyStacks enabled, empty stacks are removed immediately without scanning the entire inventory.
  • Fast multi-item matching — single-pass inventory check using boolean[] flags with early exit. No allocations, noticeably faster on large inventories or long condition lists.
  • Early slot filteringslots.matches(full, empty, occupied) is evaluated first, avoiding deeper checks when slots don’t match.
  • Preserved fast path for single targets — when items.size() == 1, the comparison is done directly on the changed slot without a full inventory pass.

🚀 Result

Fewer redundant checks, less memory churn, and faster responses to inventory events.
Particularly beneficial for servers or modpacks with many players and complex advancement triggers.

From version 2.0.0 required Forge Config API Port (only for fabric version).

Feel free to write about all problems and suggestions on my github! Good luck!

 

The Achievements Optimizer Team

profile avatar
  • 19
    Followers
  • 19
    Projects
  • 45.5M
    Downloads
Donate

More from big_energyView all

  • Re-Retro Damage Indicators project image

    Re-Retro Damage Indicators

    • 6.2K
    • Mods

    ReRemember these? They're back!

    • 6.2K
    • June 26, 2026
    • Mods
    • +3
  • Glassential Renewed project image

    Glassential Renewed

    • 27.1M
    • Mods

    Various types of glass to aid in your building. Updated to new MC.

    • 27.1M
    • June 25, 2026
    • Mods
  • JEIOptimizer project image

    JEIOptimizer

    • 7.2K
    • Mods

    15× faster JEI ingredient filter build — drastically reduces "Joining world..." wait time on big modded servers.

    • 7.2K
    • June 20, 2026
    • Mods
    • +2
  • FastPipes project image

    FastPipes

    • 9.3K
    • Mods

    Fast item, fluid & energy pipes with smart sorting, pipe terminal, tiered barrels, and waterlogging. Supports JEI & Jade.

    • 9.3K
    • June 20, 2026
    • Mods
    • +4
  • Re-Retro Damage Indicators project image

    Re-Retro Damage Indicators

    • 6.2K
    • Mods

    ReRemember these? They're back!

    • 6.2K
    • June 26, 2026
    • Mods
    • +3
  • Glassential Renewed project image

    Glassential Renewed

    • 27.1M
    • Mods

    Various types of glass to aid in your building. Updated to new MC.

    • 27.1M
    • June 25, 2026
    • Mods
  • JEIOptimizer project image

    JEIOptimizer

    • 7.2K
    • Mods

    15× faster JEI ingredient filter build — drastically reduces "Joining world..." wait time on big modded servers.

    • 7.2K
    • June 20, 2026
    • Mods
    • +2
  • FastPipes project image

    FastPipes

    • 9.3K
    • Mods

    Fast item, fluid & energy pipes with smart sorting, pipe terminal, tiered barrels, and waterlogging. Supports JEI & Jade.

    • 9.3K
    • June 20, 2026
    • Mods
    • +4