StackMob Fabric: Entity Stacking and Performance Rules
A StackMob Fabric guide. Covers StackMob Fabric 1.2.2 on Minecraft 1.21.1.
When managing high-density farms or crowded mob enclosures, entity overhead can cause severe server stutter. Under the "StackMob Fabric Configuration", enabling "Stack Mobs?" condenses identical creatures within a shared space into a single visual model displaying a stack counter. You can likewise merge ground clutter by toggling "Stack Items?". To avoid unrealistic consolidation across barrier walls, activate "Require entity line of sight for stacking?", and calibrate the detection boundary using "Search radius for stacking entities (blocks)". Specific creatures can be exempted entirely using the "Entity Type Blacklist", or excluded selectively with toggles like "Stack Villagers?", "Stack Bees?", and "Stack tamed mobs?".
Farming Behaviors, Interaction, and Combat
Player interactions with stacked groups are fine-tuned to maintain farming mechanics without exploit. Through "Action to take on entity death", you can set whether killing a mob slices off a single unit, damages the stack proportionally, or eliminates the entire group. Resource harvesting is maintained with "Action to take on shearing sheep" and "Action to take on breeding animals", while production farms benefit from "Multiply live drops from stacked mobs (such as eggs and scutes)?". For special mobs, "Stack slimes on split?" and "Merge slimes by increasing their size?" determine whether divided slimes coalesce into regular numbered groups or form massive giant creatures.