What are you searching for?

CobblemonOptimizer

CobblemonOptimizer

CobbleOptimizer is a server-side Fabric mod that reduces lag caused by Cobblemon's Pokemon entities.

download 86 Downloads · favorite 4 Followers · Updated 1 week ago
Fabric Optimization 1.21.1

Versions

inventory_2
CobblemonOptimizer 2.0.0

2.0.0 · 1 week ago · 437.20 KB

Release download
Fabric 1.21.1
inventory_2
CobblemonOptimizer 1.0.1

1.0.1 · 1 week ago · 419.70 KB

Release download
Fabric 1.21.1
inventory_2
CobblemonOptimizer 1.0.0

1.0.0 · 1 week ago · 419.62 KB

Release download
Fabric 1.21.1

About

CobbleOptimizer

A server-side Fabric mod for Minecraft 1.21.1 that optimizes Cobblemon (the Pokemon mod) entity performance based on server load (TPS). It has 4 main
features:

  1. Tick Throttle — Reduces how often distant/unimportant Pokemon entities are ticked. When the server TPS drops, Pokemon far from players get their tick rate reduced, saving CPU cycles.
  2. AI Freeze — Completely freezes the AI of Pokemon entities that are far from any player. If no one is nearby to observe them, there's no need to run their pathfinding and behavior logic.
  3. Adaptive Spawn — Dynamically adjusts Pokemon spawn rates based on current server TPS. When the server is struggling, fewer Pokemon spawn; when it's healthy, spawns return to normal.
  4. Batch Despawn — Removes excess Pokemon entities in bulk when the server is overloaded, prioritizing removal of unimportant ones (non-shiny, non-legendary, unowned, not in battle).

Shared Infrastructure

  • TPS Monitor — Continuously tracks server TPS to inform all features.
  • Player Tracker — Caches player-to-entity distances so multiple features can cheaply check proximity.
  • Config — TOML-based configuration with in-game commands (/cobbleoptimizer) to tweak thresholds on the fly.

In short

It's a performance optimization mod that keeps Cobblemon servers running smoothly by intelligently scaling back Pokemon entity processing when the server is under load, while protecting important Pokemon (shinies, legendaries, battling, owned) from aggressive optimization.

open_in_new View on Modrinth
Categories
Compatibility
Client: Unsupported Server: Required
gavel MIT

Conversation

What are your thoughts?

Related projects

Optimization
Sodium
Sodium

by jellysquid3

The fastest and most compatible rendering optimization mod for Minecraft. Now available for both NeoForge and Fabric!

download 123.5M
favorite 33,219
Decoration Optimization
Iris Shaders
Iris Shaders

by coderbot

A modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs

download 94.9M
favorite 24,087
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 88.6M
favorite 12,930
Optimization
Entity Culling
Entity Culling

by tr7zw

Using async path-tracing to hide Block-/Entities that are not visible

download 88.1M
favorite 13,964
lock Cookie consent

SkinMC uses cookies to provide functionality and features.