MobStack26
A datapack that stacks mobs to enhance performance of large animal farms
- Loaders
- FabricNeoForgeForgeQuilt
- Downloads on Modrinth
- 1.1K
- Followers on Modrinth
- 2
- versions
- 2
- Updated
- June 26, 2026Jun 26
- Published
- in 2026
At a glance
Needed on the server; optional in the game
Ever managed to have so many farm animals around your world that it started to affect performance? No? Me neither, but the players in my server always do! And so, all similar mods and datapacks being outdated, I made my own.
Features:
- Stack nearby farm animals together to avoid large numbers of entities
- Adds a nametag to show the ammount of animals in a stack
- Respects mob variants and sheep colour
- Ignores baby mobs and nametagged mobs, your pets shall not be stacked!
Nor will your poor, imprisoned sheeps - Shearing drops multiplied by the number of mobs in a stack
- Only stacks mobs with an equal number of stacks together, making it easier to not accidentally merge all your animals and end up unable to breed the last one
- Animals can be stacked up to 64x, they wont stack if their sum is greater than 64
Suported mobs:
- Chickens
- Cows
- Mooshrooms
- Pigs
- Rabbits (Does anybody even farm rabbits? No idea)
- Sheeps
Known issues:
- Brown mooshroom variants wont remember if they ate a flower after being stacked or killed (Extremely niche issue, wont fix)
- Under certain rare conditions mobs will replicate extremely fast causing extreme lag, critical issue, working on a fix.
Credits:
Mob Stacker by NickTonj, I did not take any of his code but finding his datapack gave me the idea to do this one
FAQ
How to install MobStack26?
Install Fabric for your Minecraft version, download MobStack26 for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does MobStack26 support?
MobStack26 has builds for Minecraft 1.21–26.2.
Is MobStack26 needed on the server?
Needed on the server; optional in the game