Back to mods
OptimizeMod project artwork

CurseForge · Minecraft mod

OptimizeMod

Reduces server lag by throttling distant entity ticks, suspending mob AI, and limiting particles.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which OptimizeMod release matches 1.20?

Updated 26 days ago
Best match for your filters OptimizeModForge
Game version 1.20
Loader Forge

OptimizeModForge targets 1.20 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is OptimizeMod required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does OptimizeModForge need?

OptimizeModForge on 1.20. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add OptimizeMod without breaking your instance.

Built for OptimizeModForge on 1.20. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use OptimizeModForge. It targets 1.20 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside OptimizeModForge. It opens that exact file at the source.

About this project

What does OptimizeMod add?

⚡ OptimizeMod

Reduce lag. Sleep distant mobs. Boost FPS. No config needed.

OptimizeMod is a lightweight Fabric optimization mod designed for large modpacks and heavily modded servers. It intelligently reduces CPU and GPU load by throttling entities and AI that no player is watching — because why waste resources on mobs nobody can see?


🚀 What does it do?

🧠 Smart Entity Tick Reduction

Entities far from players don't need to run at full speed. OptimizeMod automatically slows down their processing based on distance:

Distance from player Tick rate
0 – 48 blocks Normal (20/s)
48 – 96 blocks Reduced (10/s)
96+ blocks Minimal (5/s)

💤 Mob AI Sleep

Pathfinding and combat AI are among the most expensive operations on a server. Mobs that no player is near simply stop thinking — they stand still until someone gets close again.

Distance from player AI behavior
0 – 32 blocks Full AI
32 – 48 blocks AI updated every 2 ticks
48+ blocks AI fully suspended

✨ Particle Limiter (Client-side)

Large modpacks often add dozens of new particle effects. OptimizeMod caps active particles at 4,000 simultaneously, preventing sudden FPS drops from particle-heavy mods.


📈 Performance Impact

The more entities and mods you have, the bigger the gain. On a server with 300+ mobs spread across the world, you can expect:

  • 30–60% reduction in entity-related CPU usage
  • Smoother TPS on heavily loaded servers
  • Fewer FPS drops on the client from particles

🔧 Compatibility

OptimizeMod is designed to complement other optimization mods, not replace them:

Mod Compatibility
✅ Sodium Full
✅ Lithium Full
✅ Krypton Full
✅ FerriteCore Full
✅ Most content mods Full

⚠️ Mobs at long distances will stand still (intentional — this is the source of the performance gain). Hostile mobs still despawn normally per vanilla rules.


🔬 How It Works (Technical)

OptimizeMod uses three Fabric Mixins that intercept core Minecraft methods at runtime:

EntityTickMixin

  • Target: LivingEntity.tickMovement()
  • Injection: @Inject at HEAD with cancellable = true
  • Calls ServerWorld.getClosestPlayer() every tick to find the nearest player
  • If no player is within 96 blocks → cancels the tick 3 out of every 4 calls (world.getTime() % 4)
  • If player is between 48–96 blocks → cancels every second tick (world.getTime() % 2)
  • Players (PlayerEntity) are always excluded from throttling

MobEntityAIMixin

  • Target: LivingEntity.tickNewAi()
  • Injection: @Inject at HEAD with cancellable = true
  • Same distance check as above
  • If no player is within 48 blocks → AI goal update is fully cancelled (no pathfinding, no combat calculations)
  • Between 32–48 blocks → AI cancelled every other tick
  • Also resets despawnCounter to 0 via @Shadow to prevent unintended despawning of passive mobs

ParticleManagerMixin

  • Target: ParticleManager.addParticle()
  • Injection: @Inject at HEAD with cancellable = true
  • Maintains an internal counter per ParticleManager instance
  • Cancels particle creation once the counter exceeds 4,000, returning null
  • Counter resets automatically to prevent permanent particle blocking

All three mixins operate purely through method injection with no reflection, no ASM bytecode manipulation beyond what Mixin provides, and no thread-unsafe operations.


📦 Installation

  1. Install Fabric Loader for Minecraft 1.21.1
  2. Install Fabric API
  3. Drop OptimizeMod.jar into your mods/ folder
  4. Launch and enjoy the extra performance!

📋 Requirements

  • Minecraft 1.21.1
  • Fabric Loader 0.16+
  • Fabric API
  • Java 21+

Made with ❤️ for the modded Minecraft community. Small mod, big difference.

Project description from CurseForge.

Pick your setup

OptimizeMod by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

17 available setups

Showing the newest 12 of 17 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

OptimizeMod versions and loaders

1 of 7 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.