
Modrinth · Minecraft mod
MobStack26
A datapack that stacks mobs to enhance performance of large animal farms
Quick answer
Which MobStack26 release matches 26.1.2?
MobStack26 v1+mod targets 1.21, 1.21.1, 1.21.2 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is MobStack26 required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does MobStack26 v1+mod need?
v1+mod on 26.1.2. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add MobStack26 without breaking your instance.
Built for MobStack26 v1+mod on 26.1.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use v1+mod. It targets 1.21, 1.21.1, 1.21.2 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside v1+mod. It opens that exact file at the source.
About this project
What does MobStack26 add?
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
Project description from Modrinth.
Pick your setup
MobStack26 by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
5 loader builds26.1.1
5 loader builds26.1
5 loader builds1.21.11
5 loader builds1.21.10
5 loader builds1.21.9
5 loader builds1.21.8
5 loader builds1.21.7
5 loader builds1.21.6
5 loader builds1.21.5
5 loader builds1.21.4
5 loader buildsShowing the newest 12 of 16 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
MobStack26 versions and loaders
v1+mod
mobstack26-v1.jar
26 Jun 2026
v1
mobstack_v1.zip
26 Jun 2026
Looking for an older file? The official Modrinth project page is in Resources.