📦 Item Clumps
"告别地面物品卡顿。将无尽掉落物合并为超流畅的堆叠。"
[!NOTE]
1 Jar 1 版本策略: 我为每个 Minecraft 版本构建一个专用的 JAR 文件(例如 MC 1.20.1、MC 1.21.1、MC 1.21.11、MC 26.1.2、MC 26.2、MC 26.3)。请下载与你的 Minecraft 安装版本完全匹配的构建。
依赖要求: 本模组需要同时安装 Fabric API 和 Dasik Library(1.20.1 需 v1.0.0+,1.21.x 需 v1.2.0+,26.x 需 v1.7.4+)。
在原版 Minecraft 中,掉落的物品会合并,但严格限制在标准堆叠上限 64 个。当自动化生物农场、采石场、伐木机或大规模 TNT 爆炸将数千个物品洒在地面上时,游戏被迫对数十甚至数百个独立的 3D 物品实体进行刻钟处理、追踪和渲染。结果呢?严重的客户端帧率卡顿、渲染瓶颈以及灾难性的服务器 TPS 下降。
Item Clumps 打破了服务端的 64 物品地面实体壁垒。它激进地将相同的掉落物合并为单个超轻量级的虚拟巨型堆叠,默认最多可达 9,999 个物品(或最高 2,147,748,647)。悬浮的全息计数标签清晰地显示在堆叠上方,漏斗平滑地滴入物品而不会堵塞,动态视觉缩放提供即时视觉反馈,且原版客户端无需安装任何客户端模组即可连接服务器!
属于 Instant Gratification Collection —— 尊重玩家时间的模组合集。
🎬 视频展示
🎬 视频展示:Item Clumps 的实际运行效果
点击下方的视频缩略图或按钮,在 YouTube 上观看实时演示:
✨ 特性
🚀 服务端堆叠聚合与虚拟化
完全绕过原版 64 物品地面实体的上限。具有相同类型、DataComponents 和目标属性的掉落物合并为包含最多 9,999 个物品(默认值)的单一统一实体,最大可配置为 2,147,483,647 (Integer.MAX_VALUE)。
[!NOTE]
虚拟数量存储: 完整的虚拟物品数量直接存储在标准的原版 ItemStack 数量字段中。由于现代 Minecraft 使用动态 VarInts 而不是旧版字节来序列化堆叠数量,原版客户端原生接收、同步并在其地面上显示这些数量。
🏷️ 动态全息计数标签
当实体数量超过正常堆叠时,在堆叠上方渲染自定义浮动名牌(例如 Cobblestone x1450 或 Rotten Flesh x420)。使用 Minecraft 原生的实体命名牌渲染功能(setCustomName 和 setCustomNameVisible)在服务端执行,因此原版客户端无需安装任何客户端模组即可看到该标签。
🔍 动态对数视觉缩放
物品堆叠会根据其内部物品数量动态改变 3D 缩放比例!缩放遵循从 1.0x 到 2.5x(1.0 + 0.3 * log10(count))的平滑对数曲线,让成堆的石块或铁锭具有切实的物理存在感,而不会淹没玩家的视线。可通过游戏规则完全开关(item_clumps:enable_visual_scaling)。
⏱️ 原版消失计时器保留
为了保护你辛苦获得的资源,合并后的堆叠继承被合并物品中最年轻物品的年龄(Math.min(this.age, other.age))。这确保了将新掉落物品与旧物品合并永远不会导致过早消失。
📦 智能库存传输与分块拾取
走过巨大的堆叠绝不会浪费或删除物品。模组会计算玩家背包的空闲容量,并仅以完整堆叠块的形式传输你能容纳的数量,剩余物品安全地保留在地面上形成较小的堆叠,并立即更新视觉计数。
⚙️ 漏斗滴灌保护
位于 Item Clumps 下方的漏斗通过 HopperBlockEntityMixin 在每个正常的原版传输周期中提取 exactly 1 个物品,使堆叠平滑递减。你的分拣系统、存储筒仓和红石物品电梯继续以标准的原版传输节奏运行,而不会停滞或吞下整个巨型堆叠。
📐 水平搜索半径与垂直层级防护
在可配置的水平半径内合并相同物品(item_clumps:merge_radius,默认:1 格)。关键的是,合并算法强制执行垂直边界:上下相距 1 格的物品不会穿过天花板、地板或平台进行合并。
🧲 模组协同效应(堆叠大小调整器 & 磁铁)
- Stack Size Adjuster 集成:当存在 Stack Size Adjuster 时,Item Clumps 会自动将地面实体的上限 defer 到您自定义配置的堆叠大小中,并从设置菜单中干净地隐藏冗余的
max_clump_size GameRule。
- Magnet 飞行兼容性:内置反射钩子检测通过 Magnet 主动飞向玩家的物品,在飞行完成前暂时豁免它们进行合并,从而实现平滑、流畅的运动轨迹。
🧩 兼容性与 HUD 集成
- 100% 服务端兼容:完全在服务端运行。原版客户端无需下载任何内容即可加入模组服务器的专用服务器。
- YetAnotherConfigLib (YACL) & ModMenu:单人游戏中可选的图形化配置界面,便于轻松自定义世界默认值。
- 零 NBT 污染:内存中的伤害处理与实体拦截机制确保您的世界存档保持 100% 原版安全。

原生游戏内编辑游戏规则菜单,显示专用的 Item Clumps 类别
📊 快速参考与机制矩阵
| 游戏方面 |
Vanilla Minecraft |
Item Clumps (Fabric) |
| 最大地面堆叠大小 |
64 个物品(珍珠/蛋为 16,工具为 1) |
9,999 个物品(可配置至 21.4 亿) |
| 5,000 个物品的实体数量 |
79 个独立的 3D 实体模型 |
1 个统一的实体 |
| 帧率与 Tick 影响 |
严重卡顿、FPS 下降、TPS 衰减 |
流畅 60 FPS,零实体 Tick 延迟 |
| 全息计数标签 |
❌ 无(难以区分的堆积物) |
✅ 实时 3D 名称标签 (Item Name xCount) |
| 视觉尺寸缩放 |
❌ 固定单物品比例 |
✅ 动态对数缩放 (1.0x 至 2.5x) |
| 消失计时逻辑 |
合并后重置为最旧物品的年龄 |
✅ 继承最年轻物品的年龄(最大寿命) |
| 漏斗抽取 |
每周期抽取 1 个物品 |
✅ 安全的 1 物品滴灌式抽取(不会导致红石故障) |
| 磁铁飞行行为 |
空中合并出现错误 |
✅ 空气动力学飞行锁定(无突然 snapping) |
| 客户端要求 |
客户端必需 |
✅ 100% 服务端(支持原版客户端) |
🚀 游戏内命令与快速入门
使用标准 Minecraft /gamerule 命令在当前世界中实时调整地面合并规则,无需重启:
/gamerule item_clumps:enable_clumping true
/gamerule item_clumps:max_clump_size 9999
/gamerule item_clumps:render_labels true
/gamerule item_clumps:label_min_count -1
/gamerule item_clumps:merge_radius 1
/gamerule item_clumps:enable_visual_scaling true
所有通过 /gamerule 进行的修改都会立即生效,并同步给所有已连接的玩家。
⚙️ 配置(原生游戏规则)
[!IMPORTANT]
💡 配置文件与游戏内游戏规则的区别: 全局配置文件(config/item_clumps.json)仅定义新创建世界的默认值。在现有世界中,请通过 编辑游戏规则 UI 界面或 /gamerule 命令在游戏内更改设置。
| 游戏规则名称 |
类型 |
默认值 |
有效范围 |
描述 |
item_clumps:enable_clumping |
Boolean |
true |
true / false |
开启或关闭物品聚集机制。禁用后,将应用原版合并逻辑。 |
item_clumps:max_clump_size |
Integer |
9999 |
64 至 2,147,483,647 |
单个聚集堆可容纳的物品最大数量。(加载 Stack Size Adjuster 时隐藏)。 |
item_clumps:render_labels |
Boolean |
true |
true / false |
在超过普通堆叠数量的聚集堆上方渲染 3D 全息计数标签。 |
item_clumps:label_min_count |
Integer |
-1 |
-1 至 2,147,483,647 |
显示全息标签所需的最小数量。设置为 -1 以使用原版最大堆叠限制。 |
item_clumps:merge_radius |
Integer |
1 |
1 至 10 |
物品搜索并合并相同地面物品的水平方块半径。 |
item_clumps:enable_visual_scaling |
Boolean |
true |
true / false |
根据聚集堆数量对 3D 地面物品实体进行对数缩放(1.0x 至 2.5x)。 |
📖 深入操作指南与实践手册
1. 即插即用设置与基础初始化
- 将
item-clumps-*.jar 与 Fabric API 和 Dasik Library 放入你的 mods 文件夹中。
- 启动 Minecraft。模组将自动生成
config/item_clumps.json,其中填充了推荐的高性能默认值。
2. 实时游戏内调整 vs. 全局模板
- 对于新世界:在
config/item_clumps.json 中或通过标题屏幕上的 ModMenu + YACL 配置你想要的设置。新世界在创建时会将这些值复制到世界游戏规则中。
- 对于现有世界:打开暂停菜单 → 编辑游戏规则 → 滚动到 Item Clumps 部分,或在聊天栏中使用
/gamerule item_clumps:<rule> <value>。
3. 工业农场优化(生物刷怪塔与矿车采集器)
- 对于高吞吐量的自动化生物刷怪塔或矿车采集隧道,请将
item_clumps:merge_radius 设置为 2 或 3。这允许跨越多个漏斗通道或水流渠道掉落的物品聚合成一个中心实体。
- 如果你注意到全息标签在农场收集坑中造成视觉混乱,请将
item_clumps:label_min_count 提高至 256 或 1000,以便仅在巨大的剩余聚集堆上显示浮动文本。
4. 存储与漏斗分拣保护
- Item Clumps 不需要自定义收集过滤器。标准的漏斗分拣器和物品电梯可以逐个平滑地吸入物品。
- 由于漏斗从堆叠中抽取物品时,堆叠会逐渐缩小,浮动标签会实时更新以显示剩余数量。
5. 故障排除与崩溃预防
- 类加载器保护:Item Clumps 内置了 Knot ClassLoader 启动检查,以确保跨 Minecraft 版本的兼容性。
- 溢出预防:Clump 的总和计算采用 64 位算术运算,确保物品总数永远不会溢出为负值。
🧩 推荐配套模组
如果你喜欢 Item Clumps,以下来自 Instant Gratification Collection 的配套模组可以无缝集成使用:
- 📦 Stack Size Adjuster:将背包槽位和容器上限从 64 调整至 21.4 亿,完美匹配你的存储箱与地面掉落物阈值。
- 🧲 Magnet (Let Me Get That!):自动从最多 64 格远的地方将大量物品掉落物和经验球吸入你的背包中。
- ⛏️ Ore Amplifier:倍增新生成区块中的原版和模组矿物生成量,以满足你大容量存储系统的需求。
🌟 探索完整的 Instant Gratification Collection 以获取更多高便利性增强功能。
💬 加入社区与获取支持
需要帮助?想测试早期构建版本?或者对即将推出的功能进行投票?加入我的官方 Discord 社区!
☕ 支持
如果你喜欢 Instant Gratification Collection,请考虑资助未来的更新!
[!NOTE]
🇮🇩 印尼用户: SocioBuzz 和 Saweria 支持本地支付方式(如 Gopay、OVO、Dana 等),如果你希望在不使用 PayPal/Ko-fi 的情况下支持我,可以使用这些平台!
📜 致谢与整合包许可
[!IMPORTANT]
📦 整合包许可与分发:
你完全可以将此模组包含在任何平台的任何整合包中!但是,模组文件必须通过官方分发渠道(Modrinth 或 CurseForge)直接下载。严禁将原始模组 JAR 文件重新上传、镜像或分发给第三方镜像站点、抓取门户或未授权的启动器。
⚖️ 许可证与分支指南(禁止无更改的重上传):
本项目在 GNU GPLv3 下开源。我们鼓励你查看代码、从中学习,并 fork 仓库以创建真正的修改、重大功能扩展或社区移植版——只要你的项目保持 GPLv3 开源并提供适当的归属标注。
然而,严格禁止直接的 1:1 重上传、没有任何实质性功能变化的克隆分支,或以不同项目名称重新发布相同构建版本的行为(例如为了刷取下载量或奖励)。
为 Minecraft 社区 ❤️ 制作
属于 Instant Gratification Collection
📦 Item Clumps
"Stop Ground Item Lag. Merge Endless Drops into Ultra-Smooth Clumps."
[!NOTE]
1 Jar 1 Version Policy: I build 1 dedicated JAR for each Minecraft version (e.g. MC 1.20.1, MC 1.21.1, MC 1.21.11, MC 26.1.2, MC 26.2, MC 26.3). Please download the exact build that matches your Minecraft installation.
Dependency Requirement: This mod requires both Fabric API and Dasik Library (v1.0.0+ on 1.20.1, v1.2.0+ on 1.21.x, v1.7.4+ on 26.x).
In vanilla Minecraft, dropped items merge, but they strictly cap out at a standard stack size of 64. When an automated mob farm, quarry, tree harvester, or massive TNT explosion spills thousands of items onto the ground, your game is forced to tick, track, and render dozens—or even hundreds—of individual 3D item entities. The result? Severe client-side frame stuttering, rendering bottlenecks, and catastrophic server TPS drops.
Item Clumps shatters the 64-item ground entity barrier server-side. It aggressively merges identical dropped items into single, ultra-lightweight virtual mega-stacks of up to 9,999 items by default (or up to 2,147,483,647). Floating holographic count labels render cleanly above clumps, hoppers drip-feed items smoothly without jamming, dynamic visual scaling provides instant visual feedback, and vanilla clients can connect to servers without installing any client mod!
Part of the Instant Gratification Collection — mods that respect the player's time.
🎬 Video Showcase
🎬 Video Showcase: Item Clumps in Action
Click the video thumbnail or button below to watch the live demonstration on YouTube:
✨ Features
🚀 Server-Side Stack Aggregation & Virtualization
Bypasses the vanilla 64-item ground entity ceiling entirely. Identical dropped items (sharing matching item types, DataComponents, and targeting) merge into single unified entities containing up to 9,999 items by default, fully configurable up to 2,147,483,647 (Integer.MAX_VALUE).
[!NOTE]
Virtual Count Storage: The full virtual item count is stored directly in the standard vanilla ItemStack count. Because modern Minecraft serializes stack counts using dynamic VarInts rather than legacy bytes, vanilla clients natively receive, synchronize, and display these counts on ground entities.
🏷️ Dynamic Holographic Count Labels
Renders a custom floating nameplate (e.g. Cobblestone x1450 or Rotten Flesh x420) above clumps whenever the entity count exceeds a normal stack. Uses Minecraft's native entity nametag rendering (setCustomName and setCustomNameVisible) on the server so that vanilla clients see the label without needing any client-side mod installed.
🔍 Dynamic Logarithmic Visual Scaling
Item clumps dynamically grow in 3D scale based on their internal item count! Scaling follows a smooth logarithmic curve from 1.0x up to 2.5x (1.0 + 0.3 * log10(count)), giving giant mounds of cobblestone or iron ingots tangible physical presence without overwhelming player sightlines. Fully toggleable via GameRule (item_clumps:enable_visual_scaling).
⏱️ Vanilla Despawn Timer Preservation
To protect your hard-earned resources, merged clumps inherit the age of the youngest constituent item in the merge (Math.min(this.age, other.age)). This ensures combining newly dropped items with older items never causes premature despawning.
📦 Smart Inventory Transfer & Chunked Pickups
Walking over a massive clump never wastes or deletes items. The mod calculates your player inventory's free capacity and transfers only what you can hold in full stack chunks, leaving the remaining items safely on the ground in a smaller clump with immediate visual count updates.
⚙️ Hopper Drip-Feed Protection
Hoppers under an Item Clump extract exactly 1 item per normal vanilla transfer cycle via HopperBlockEntityMixin, decrementing the clump smoothly. Your sorting systems, storage silos, and redstone item elevators continue to function at standard vanilla transfer cadences without stalling or swallowing full mega-stacks.
📐 Horizontal Search Radius & Vertical Layer Guard
Merges identical items within a configurable horizontal radius (item_clumps:merge_radius, default: 1 block). Crucially, the merging algorithm enforces a vertical boundary: items resting 1 block above or below will not merge through ceilings, floors, or platforms.
🧲 Companion Mod Synergy (Stack Size Adjuster & Magnet)
- Stack Size Adjuster Integration: When Stack Size Adjuster is present, Item Clumps automatically defers ground entity caps to your custom configured stack sizes, cleanly hiding the redundant
max_clump_size GameRule from the settings menu.
- Magnet Flight Compatibility: Built-in reflection hooks detect items actively traveling through the air towards players via Magnet, temporarily exempting them from clumping until flight completes for smooth, fluid motion trajectories.
🧩 Compatibility & HUD Integration
- 100% Server-Side Compatible: Runs entirely on the server. Vanilla clients can join modded dedicated servers without downloading anything.
- YetAnotherConfigLib (YACL) & ModMenu: Optional graphical configuration screen in singleplayer to easily customize world defaults.
- Zero NBT Pollution: In-memory damage and entity interception guarantees your world saves remain 100% vanilla safe.

Native in-game Edit Game Rules menu showing the dedicated Item Clumps category
📊 Quick Reference & Mechanics Matrix
| Gameplay Aspect |
Vanilla Minecraft |
Item Clumps (Fabric) |
| Max Ground Stack Size |
64 items (16 for pearls/eggs, 1 for tools) |
9,999 items (Configurable up to 2.14 Billion) |
| Entity Count for 5,000 Items |
79 separate 3D entity models |
1 single unified entity |
| Frame Rate & Tick Impact |
Severe stuttering, FPS drops, TPS decay |
Smooth 60 FPS, zero entity tick lag |
| Holographic Count Label |
❌ None (Indistinguishable pile) |
✅ Live 3D nametag (Item Name xCount) |
| Visual Size Scaling |
❌ Fixed single item scale |
✅ Dynamic logarithmic scale (1.0x to 2.5x) |
| Despawn Timer Logic |
Merges reset to oldest item age |
✅ Inherits youngest age (Maximum lifespan) |
| Hopper Extraction |
1 item pulled per cycle |
✅ Safe 1-item drip feed (No redstone breakage) |
| Magnet Flight Behavior |
Glitchy mid-air merging |
✅ Aerodynamic flight lock (No sudden snapping) |
| Client Requirement |
Required on client |
✅ 100% Server-Side (Vanilla clients supported) |
🚀 In-Game Commands & Quick Start
Adjust ground clumping rules live in your active world without restarting using standard Minecraft /gamerule commands:
/gamerule item_clumps:enable_clumping true
/gamerule item_clumps:max_clump_size 9999
/gamerule item_clumps:render_labels true
/gamerule item_clumps:label_min_count -1
/gamerule item_clumps:merge_radius 1
/gamerule item_clumps:enable_visual_scaling true
All modifications made via /gamerule take effect immediately and synchronize across all connected players.
⚙️ Configuration (Native GameRules)
[!IMPORTANT]
💡 Config vs. In-Game GameRules: The global configuration file (config/item_clumps.json) only defines default values for newly created worlds. In existing worlds, change settings in-game via the Edit Game Rules UI screen or the /gamerule command.
| GameRule Name |
Type |
Default |
Valid Range |
Description |
item_clumps:enable_clumping |
Boolean |
true |
true / false |
Toggles the item clumping mechanic on or off. When disabled, vanilla merging applies. |
item_clumps:max_clump_size |
Integer |
9999 |
64 to 2,147,483,647 |
Maximum number of items a single clump can hold. (Hidden when Stack Size Adjuster is loaded). |
item_clumps:render_labels |
Boolean |
true |
true / false |
Renders a 3D holographic count label above clumps larger than a normal stack. |
item_clumps:label_min_count |
Integer |
-1 |
-1 to 2,147,483,647 |
Minimum count required before displaying holographic label. Set to -1 to use vanilla max stack limit. |
item_clumps:merge_radius |
Integer |
1 |
1 to 10 |
Horizontal block radius items will search to find and merge with identical ground items. |
item_clumps:enable_visual_scaling |
Boolean |
true |
true / false |
Scales the 3D ground item entity logarithmically (1.0x to 2.5x) based on clump count. |
📖 In-Depth How-To & Operational Playbook
1. Drop-In Setup & Baseline Initialization
- Place
item-clumps-*.jar along with Fabric API and Dasik Library into your mods folder.
- Launch Minecraft. The mod will automatically generate
config/item_clumps.json populated with recommended high-performance defaults.
2. Live In-Game Tuning vs. Global Template
- For New Worlds: Configure your desired settings in
config/item_clumps.json or via ModMenu + YACL on the title screen. New worlds copy these values into world GameRules upon creation.
- For Existing Worlds: Open the pause menu → Edit Game Rules → scroll to the Item Clumps section, or use
/gamerule item_clumps:<rule> <value> in chat.
3. Industrial Farm Optimization (Mob Farms & Quarries)
- For high-volume automated mob grinders or quarry tunnels, set
item_clumps:merge_radius 2 or 3. This allows items dropped across multiple hopper channels or water streams to cluster into a single central entity.
- If you notice holographic labels causing visual clutter in farm collection pits, raise
item_clumps:label_min_count to 256 or 1000 so only massive surplus clumps display floating text.
4. Storage & Hopper Sorting Safeguards
- Item Clumps does not require custom collection filters. Standard hopper sorters and item elevators will ingest items smoothly 1 by 1.
- Because clumps shrink progressively as hoppers pull from them, the floating label updates in real time to show the remaining quantity.
5. Troubleshooting & Crash Prevention
- Classloader Guard: Item Clumps contains Knot ClassLoader startup checks to ensure compatibility across Minecraft versions.
- Overflow Prevention: Clump sum calculations utilize 64-bit arithmetic to ensure total item counts never overflow into negative values.
🧩 Recommended Sister Mods
If you enjoy Item Clumps, these companion mods from the Instant Gratification Collection plug in seamlessly:
- 📦 Stack Size Adjuster: Scale inventory slot and container limits from 64 up to 2.14 Billion, perfectly aligning your storage chests with ground clump thresholds.
- 🧲 Magnet (Let Me Get That!): Automatically vacuum massive item clumps and XP orbs straight into your inventory from up to 64 blocks away.
- ⛏️ Ore Amplifier: Multiply vanilla and modded ore generation in newly generated chunks to feed your high-capacity storage systems.
🌟 Explore the full Instant Gratification Collection for more high-convenience enhancements.
💬 Join the Community & Get Support
Looking for help, want to test early beta builds, or vote on upcoming features? Join my official Discord community!
☕ Support
If you enjoy the Instant Gratification Collection, consider fueling future updates!
[!NOTE]
🇮🇩 Indonesian Users: SocioBuzz and Saweria support local payment methods (Gopay, OVO, Dana, etc.) if you want to support me without using PayPal/Ko-fi!
📜 Credits & Modpack Permissions
[!IMPORTANT]
📦 Modpack Permissions & Distribution:
You are fully welcome to include this mod in any modpack on any platform! However, the mod file must be downloaded directly through official distribution channels (Modrinth or CurseForge). Re-uploading, mirroring, or redistributing the original mod JAR to third-party mirror sites, scraper portals, or unauthorized launchers is strictly prohibited.
⚖️ License & Fork Guidelines (No Zero-Change Re-uploads):
This project is open-source under the GNU GPLv3. You are fully encouraged to inspect the code, learn from it, and fork the repository to create genuine modifications, substantial feature expansions, or community ports—provided your project remains open-source under GPLv3 with proper attribution.
However, straight 1:1 re-uploads, clone forks with no meaningful functional changes, or re-publishing identical builds under different project names (e.g. to farm downloads or rewards) are strictly forbidden.
Made with ❤️ for the Minecraft community
Part of the Instant Gratification Collection
评论 0
登录后参与评分
还没有评论,来抢沙发吧