HomeJavaModsOptimizeMod
OptimizeMod
OptimizeMod — screenshot 1

OptimizeMod

Keep distant simulation quiet so active gameplay gets more CPU time.

OptimizeMod is a lightweight Fabric optimization mod for Minecraft 1.21.1. Its goal is simple: reduce work on entities and effects that players are not actively interacting with.

What OptimizeMod changes

1. Distance-based movement tick throttling (EntityTickMixin)

Hook: LivingEntity.tickMovement()

2. Distance-based AI throttling (MobEntityAIMixin)

Hook: LivingEntity.tickNewAi() (for MobEntity)

3. Particle throughput cap (ParticleManagerMixin, client)

Hook: ParticleManager.addParticle(...)

Important accuracy notes

Reproducible evaluation (recommended)

To validate impact on your setup, compare baseline vs. OptimizeMod with identical conditions:

  1. Same Java version, JVM args, mod list, seed, and config.
  2. Same scenario and duration (recommended: 20-30 minutes per run).
  3. At least 3 baseline runs + 3 OptimizeMod runs.
  4. Collect comparable metrics:
  1. Compare distributions (median/p95), not one-off spikes.

Installation

  1. Install Fabric Loader for Minecraft 1.21.1
  2. Install Fabric API
  3. Place the OptimizeMod jar in mods/

Compatibility

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more