Skip to content

MobStack26

A datapack that stacks mobs to enhance performance of large animal farms

FabricNeoForgeForgeQuilt
Loaders
FabricNeoForgeForgeQuilt
Downloads on Modrinth
1.1K
Followers on Modrinth
2
versions
2
Updated
June 26, 2026Jun 26
Published
in 2026
A pig, twice — Its a pig, but twice · swipe

At a glance

Runs on Fabric, NeoForge, Forge and Quilt
For Minecraft 1.21–26.2
Needed on the server; optional in the game
Latest version — v1+mod from June 26, 2026
License MIT — free
Where it's needed
In gameoptionalOn serverrequired

Needed on the server; optional in the game

Game versions1.21–26.2

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

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More