Download Panda Anti-Lag — Minecraft Mods — MetaMods

Panda Anti-Lag

Active

Downloads

0

Last update

5 months ago

Versions

1.21.4 — 1.21.8
Server
Fabric
Control
Game optimization
Utils

Panda Anti-Lag

Compact Lag Prevention System

This Fabric server modification eliminates the most common causes of lag. It provides the ability to set limits on the number of projectiles in specific areas, restrict the number of ender pearls simultaneously loaded by a player, and implements distributed processing of creatures and vehicles in overcrowded regions.

Anti-lag work example

Key Benefits

  • Protection against lag machines: Blocking the creation of excessive entities
  • Chunk loading control: Prevention of RAM overuse due to multiple ender pearls
  • Intelligent tick scheduling: Ability to maintain thousands of mobs without server TPS drop

Flexible Configuration

The PandaAntiLag.json configuration file is automatically created at startup and contains separate settings for each dimension.

{
  "regionSize": 6,  // Size of square zone in chunks for "lag region" definition
  "regionBuffer": 1,  // Overlap zone between lag regions for entity counting
  "minimumRegionMobs": 75,  // Minimum number of mobs to activate distributed processing
  "minimumRegionVehicle": 75,  // Minimum number of vehicles
  "projectileMax": 150,  // Maximum number of same-type projectiles in lag region
  "mobStaggerLenience": 200,  // Higher value = less mob count influence
  "vehicleStaggerLenience": 200,  // Higher value = weaker vehicle influence
  "tickTimeLenience": 10,  // Higher value = less MSPT influence on scheduling
  "updateInterval": 10000,  // Entity counting update interval (ms)
  "enderPearlUpdateInterval": 10000,  // Ender pearls check interval (ms)
  "maxEnderPearlsPerPlayer": 20  // Maximum ender pearls per player
}

Demonstration Video

Mod work overview video

Performance charts

The result of application: even with thousands of creatures on the server, TPS remains stable at 20.0, creating comfortable conditions for players without compromising performance.

Project members
TreeOfSelf

TreeOfSelf

Developer

Created: 9 Mar 2025

ID: 83679