作者:rebot | 分类:模组
Minecraft 版本: 1.21.5
平台: fabric quilt
标签: management optimization utility

MobStacker is a performance Minecraft mod to optimize entity handling, addressing a common cause of performance issues in vanilla and modded environments. By intelligently "stacking" similar mobs in close proximity, MobStacker significantly reduces server load and enhances client-side performance without compromising gameplay mechanics.
💡 Note: MobStacker preserves all loot and mob properties within stacked entities. Named mobs (via name tags) are exempt from stacking to maintain uniqueness.
While actual performance gains vary based on server specifications, player count, and mod configurations, MobStacker can provide substantial improvements, especially in environments with:
🔗 Note:
- MobStacker has a built in configurable spawn cap module to reduce mob spawns per chunk.
| Feature | Description |
|---|---|
| 📦 Smart Stacking | Automatically combines identical mob types within a configurable radius |
| 🔢 Customizable Stacks | Set preferred maximum stack sizes |
| ❤️ Flexible Health Management | Configurable options for stack health and death mechanics |
| 🚫 Selective Stacking | Ability to exclude specific entities or entire mods |
| 🔪 Stack Splitting | Implemented separator item functionality for dividing stacks |
| Option | Description | Default |
|---|---|---|
killWholeStackOnDeath |
Determines if entire stack dies when one mob is killed | false |
stackHealth |
Combines health of stacked mobs when enabled | false |
maxMobStackSize |
Maximum number of mobs in a single stack | 16 |
stackRadius |
Radius within which mobs attempt to stack | 6.0 |
enableSeparator |
Toggles use of separator item for stack splitting | false |
consumeSeparator |
Determines if separator item is consumed on use | true |
separatorItem |
Specifies the item used as a separator | "minecraft:diamond" |
enableAssimilator |
Toggles use of assimilator item for stackable toggle | false |
consumeAssimilator |
Determines if assimilator item is consumed on use | true |
assimilatorItem |
Specifies the item used as a assimilator | "minecraft:emerald" |
ignoredEntities |
List of entities excluded from stacking | [] |
ignoredMods |
List of mod IDs whose entities are excluded from stacking | [] |
All commands require operator permissions (level 2) and are prefixed with /mobstacker.
# Toggle whole stack death
/mobstacker stackerConfig killWholeStackOnDeath [true|false]
# Toggle health stacking
/mobstacker stackerConfig stackHealth [true|false]
# Set maximum stack size
/mobstacker stackerConfig maxStackSize [value]
# Set stack radius
/mobstacker stackerConfig stackRadius [value]
# Toggle separator functionality
/mobstacker stackerConfig separator enableSeparator [true|false]
# Toggle separator consumption
/mobstacker stackerConfig separator consumeSeparator [true|false]
# Set separator item
/mobstacker stackerConfig separator separatorItem [item_id]
# Toggle assimilator functionality
/mobstacker stackerConfig assimilator enableAssimilator [true|false]
# Toggle assimilator consumption
/mobstacker stackerConfig assimilator consumeAssimilator [true|false]
# Set assimilator item
/mobstacker stackerConfig assimilator assimilatorItem [item_id]
# Ignore specific entity
/mobstacker ignore entity [entity_id]
# Ignore all entities from a mod
/mobstacker ignore mod [mod_id]
# Remove entity from ignore list
/mobstacker unignore entity [entity_id]
# Remove mod from ignore list
/mobstacker unignore mod [mod_id]
# Set stack size for specific entity
/mobstacker setStackSize [entity] [size]
NOTE: An entity can be given the tag {StackData: {CanStack:0b}} to prevent it from stacking.
# Set mob cap for mob categories
/mobstacker mobCapConfig [options]
Report issues to the issue tracker on github.
请登录后举报
暂无评论,抢个沙发吧~