Drainage is a Fabric performance optimization mod that gives you direct control over the systems that tank your FPS — hoppers, mob AI, item entities, and entity rendering — all from a clean in-game settings menu.
Features
Hopper Throttling
Limits how often hoppers check for items, reducing the tick load caused by large hopper networks. Configurable from 1–20 ticks.
Mob AI Throttling
Reduces how frequently mob AI is calculated for mobs outside a set player distance. Dramatically improves performance in areas with high mob counts. Configurable from 1–20 ticks with a distance range of 8–64 blocks.
Item Entity Limiting
Caps the number of item entities allowed per chunk level and controls how far apart items must be before they merge into a stack. Helps prevent item entity lag from mob farms and explosions.
Entity Render Distance
Sets a hard cap on how far away entities are rendered, reducing GPU and CPU load in crowded areas. Configurable from 8–128 blocks.
In-Game Settings GUI
All settings are controlled through a Sodium-style dark panel GUI, accessible via the /drainage command. Includes 4 built-in presets (PvP, Trappers, Smooth FPS, Normal) and 3 custom save slots.
Requirements
- Fabric Loader
- Fabric API