Back to mods
mob merger project artwork

CurseForge · Minecraft mod

mob merger

# Mob Merger - Comprehensive Summary **Mob Merger** is a performance optimization mod for Fabric on Minecraft 1.20.1 (v1.0.9) that merges nearby farm mobs to reduce lag in massive farms while maintaining equivalent production.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which mob merger release should I use?

Updated 7 months ago
Latest stable file mob-merger-1.1.0.jar
Game version 1.20.1
Loader Fabric

mob merger mob-merger-1.1.0.jar targets 1.20.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is mob merger required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does mob merger mob-merger-1.1.0.jar need?

mob-merger-1.1.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

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 mob merger without breaking your instance.

Built for mob merger mob-merger-1.1.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use mob-merger-1.1.0.jar. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside mob-merger-1.1.0.jar. It opens that exact file at the source.

About this project

What does mob merger add?

Mob Merger - Comprehensive Summary

**Mob Merger** is a performance optimization mod for Fabric on Minecraft 1.20.1 (v1.0.9) that merges nearby farm mobs to reduce lag in massive farms while maintaining equivalent production.

Core Functionality

  • **Automatic Merging**: Combines farm mobs of the same type within a 5-block radius into a single entity with a counter

  • **Mob Super-Stacking**: A single mob can represent up to 100 individual mobs

  • **Performance Optimization**: Significantly reduces entity count, minimizing ticks, AABB checks, and rendering overhead

Technical Parameters

  • **Merge Radius**: 5.0 blocks

  • **Merge Interval**: 20 ticks (1 second), staggered by entity ID

  • **Max Merged Count**: 100 mobs per entity

  • **Minimum Age for Merge**: 40 ticks (2 seconds) - allows prior detection by automated systems

Key Features

1. **Realistic Death System**

  • You must kill a merged mob as many times as its counter indicates

  • Each "death" decrements the counter by 1, drops loot for 1 mob, and fully restores health

  • Only when the counter reaches 1 does the mob die permanently

  • Example: Mob with counter 10 = kill it 10 times to eliminate it

2. **Functional Breeding System**

  • Merged mobs can breed normally

  • Accumulates breeding food: every 2 foods = 1 baby

  • When breeding, the merged mob's counter decrements based on babies born

  • Automatic spawning of multiple babies according to accumulated food

  • Equal distribution of decrements between both parents

3. **Scaled Production by Type**

**Chickens**

  • Accelerate egg timer according to counter (up to 10x faster)

  • When laying eggs, drop as many eggs as their counter indicates

  • Additional egg-laying sounds

**Sheep**

  • When sheared, drop wool multiplied by counter

  • Random base amount (1-3) × counter

  • Splits into stacks to avoid overflow (max 64 per stack)

  • Correctly maintains wool color

**Cows**

  • Can be milked normally

  • Each use works the same as vanilla

**Pigs**

  • Maintain normal behavior

4. **Jade Integration**

  • Displays "Merged: X mobs" in tooltip when looking at a merged mob

  • Client-server synchronization for accurate data

Safety Exclusions

  • ❌ Does NOT merge baby mobs

  • ❌ Does NOT merge mobs during breeding (isInLove)

  • ❌ Does NOT merge villagers (don't inherit from Animal)

  • ❌ Does NOT merge bats (they are Ambient, not Animal)

  • ✅ Allows merged mobs to breed after merging

Supported Mobs

Any entity that inherits from Animal:

  • ✅ Chickens, cows, pigs, sheep

  • ✅ All vanilla farm animals

  • ❌ Villagers and bats are automatically excluded

Technical Implementation

Code Structure

  • **IMergedMob**: Interface for tracking merged mob counter and breeding food

  • **AnimalMixin**: Main merging logic, breeding, and NBT persistence

  • **LivingEntityMixin**: Multiple death system with loot drops

  • **ChickenMixin**: Egg production acceleration

  • **SheepMixin**: Wool multiplication when sheared

  • **CowMixin & PigMixin**: Maintain normal behavior

  • **MergedMobProvider**: Jade integration for tooltips

Persistence

  • Saves MergedCount and BreedingFoodCount to NBT

  • Persists when saving/loading chunks

Staggering

  • Uses (gameTime + entityID) % MERGE_INTERVAL to distribute CPU load across ticks

Use Cases

  • Massive Create mod farms with hundreds of animals

  • Lag reduction on servers with many automated farms

  • Performance optimization without sacrificing gameplay mechanics

  • Compatible with Create and other automation mods

Configuration

Configurable values in MobMerger.java:

  • MERGE_RADIUS: Search radius for merging (default: 5.0 blocks)

  • MERGE_INTERVAL: Check frequency (default: 20 ticks = 1 second)

  • MAX_MERGED_COUNT: Maximum mobs in one (default: 100)

  • MIN_AGE_FOR_MERGE: Minimum age to merge (default: 40 ticks = 2 seconds)

Compatibility

  • Minecraft 1.20.1

  • Fabric Loader 0.16.9+

  • Fabric API 0.92.2+

  • Jade (optional, for displaying information)

  • Compatible with Create and other automation mods

Supported Languages

  • English (en_us)

  • Spanish (es_es) available in assets

Installation

  1. Ensure you have Fabric Loader installed

  2. Download the compiled .jar file

  3. Place the file in your server/client mods folder

  4. Restart the server/client

Building


./gradlew build

The .jar file will be generated in build/libs/

License

MIT License - See LICENSE file for more details

Credits

Created by Julia

Inspired by the Item Merger concept for Create farm optimization

Project description from CurseForge.

Pick your setup

mob merger by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

mob merger versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.