OptimizeMod

OptimizeMod

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

von
4.4K Downloads
fabricforgeoptimization
Server mit dieser Mod mieten

Screenshots

With Mod
Without Mod

Über diese Mod

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()

  • Players are excluded.
  • If no player is found within sleep distance (96 blocks by default), non-player living entities skip movement ticks (ENTITY_TICK_SKIP = 4 by default).
  • If a player is present but farther than reduce distance (48 blocks), movement updates are throttled (roughly every other tick).

2. Distance-based AI throttling (MobEntityAIMixin)

Hook: LivingEntity.tickNewAi() (for MobEntity)

  • If no player is found within reduce distance (48 blocks), AI updates are cancelled for that tick.
  • In mid-distance ranges, AI updates are partially throttled (every other tick).
  • While throttled/cancelled, despawnCounter is reset to avoid unwanted despawn side effects.

3. Particle throughput cap (ParticleManagerMixin, client)

Hook: ParticleManager.addParticle(...)

  • Particle creation is capped with a local counter (MAX_PARTICLES_LIMIT = 4000).
  • Excess particle spawn requests are dropped when the cap is exceeded.
  • Intended to reduce client stutter from extreme particle bursts.

Important accuracy notes

  • OptimizeMod does not guarantee fixed FPS/TPS/MSPT improvements.
  • Real impact depends on mob density, player spread, chunk activity, modpack composition, JVM/runtime settings, and test scenario.
  • Behavior changes for distant mobs/entities are intentional by design.

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:
  • p50/p95 MSPT (spark or equivalent)
  • CPU usage (process/system)
  • FPS/frame-time (client tests)
  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

  • Designed to complement other optimization mods.
  • As with any mixin-based mod, test your exact modpack before production deployment.

Verfügbare Versionen

OptimizeModForge 1.20.1release
MC 1.20.1forge
5. April 2026
OptimizeMod 1.0.0release
MC 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
19. Februar 2026

OptimizeMod auf dem Server installieren

1

Server bestellen

Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).

2

fabric Loader setzen

Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (1.21.11).

3

Mod installieren

Öffne den Mod-Browser im Dashboard und suche nach "OptimizeMod". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.

Kompatibilität

Mod-Loader

fabricforge

Minecraft-Versionen

1.21.11, 1.21.10, 1.21.9 (+9 weitere)

Server-seitig

~ Optional

Empfohlener RAM

4 GB(min. 3 GB)

Häufige Fragen

OptimizeMod Server crasht beim Start – was tun?

Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (1.21.11). Über das Panel kannst du den Loader mit einem Klick wechseln.

Ist OptimizeMod mit fabric und forge kompatibel?

OptimizeMod unterstützt offiziell fabric, forge für Minecraft 1.21.11, 1.21.10, 1.21.9. Achtung: Forge- und Fabric-Mods sind NICHT untereinander kompatibel – wähle einen Loader und bleibe dabei. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.

Server laggt mit OptimizeMod – wie optimiere ich die Performance?

Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob OptimizeMod den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.

Modded Server mieten

Installiere OptimizeMod mit nur einem Klick auf deinem Server.

Empfohlener RAM
4 GBab €5.2/Monat
Min. 3 GB | +1 GB pro 8 Spieler
Jetzt Server erstellen
1-Klick Mod Installation
NVMe SSD Speicher
DDoS-Schutz inklusive

Details

Lizenz
LicenseRef-All-Rights-Reserved
Server-seitig
Optional

Unterstützte Versionen

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.2+2 mehr