🧪 Potion Stacker Addon
“酿造更多,杂乱更少。安全堆叠可饮用药水、喷溅药水和滞留药水。”
📖 简介
在原版 Minecraft 中,炼金物品自诞生以来一直无法堆叠。准备对抗凋灵或末影龙的 Boss 战、探索深层古代城市,或突袭下界要塞时,你的背包会变得一团糟,而一套标准的战斗增益负载(速度、抗火、力量、再生、治疗)几乎会占用所有可用的格子。
Potion Stacker Addon 是 Stack Size Adjuster 的官方配套插件,秉承“即时满足”的设计理念。它注册了专用的物品覆盖处理器,将可饮用药水、喷溅药水、滞留药水和水瓶在背包和存储容器中的堆叠上限提升至 16(或自定义限制)。它还内置了对原版炖菜和汤的堆叠支持,如果你安装了 Stew Stacker Addon,它会自动避免冲突。
[!IMPORTANT] 配套插件要求: Potion Stacker Addon 专为 Stack Size Adjuster 设计。你必须同时安装 Stack Size Adjuster 和 Dasik Library 才能使此模组正常运行。
[!NOTE] 1 Jar 1 版本政策: 我为每个 Minecraft 版本构建 1 个专用 JAR 文件(例如 1.20.1, 1.21.1, 1.21.11, 26.1.2, 26.2, 26.3)。请下载与你的 Minecraft 版本完全匹配的构建版本。
属于 Instant Gratification Collection 的一部分——尊重玩家时间的模组。
✨ 功能
🍶 安全的药水堆叠(默认:16)
- 支持所有药水形态: 标准可饮用药水、喷溅药水、滞留药水和水瓶默认最多堆叠 16 个。
- 组件与 NBT 安全性: 原版物品匹配机制确保只有在药水内容、效果和持续时间完全相同时才会堆叠。
- 正常消耗机制: 饮用或投掷药水时,会从堆叠中准确消耗 1 个物品,符合预期。
🍲 额外的炖菜与汤堆叠(默认:16)
- 蘑菇炖菜、兔子炖菜、可疑炖菜和甜菜根汤默认最多堆叠 16 个。
- 零冲突交接: 如果你也运行 Stew Stacker Addon,Potion Stacker Addon 会自动将炖菜处理委托给该模组,以确保无缝兼容。
⚡ 动态实时客户端-服务器同步
- 服务器 GameRule 修改通过自定义网络负载(
PotionLimitSyncPayload)立即同步到已连接的客户端。 - 当限制发生变化时,活动容器菜单和背包会动态刷新,无需重启服务器或世界。
🔓 无限制的自定义自由度
- 遵循“自由优先于防崩溃”的理念。堆叠大小限制是无符号整数(
1到2,147,483,647),允许服务器管理员和单人世界配置任何自定义堆叠阈值。
🖥️ 双上下文配置与游戏内 GUI
- 配置文件模板存储在
config/potion-stacker.json。 - 生成全新世界时,你的基准 JSON 配置模板会自动应用到世界的 GameRule 中。
- 可通过游戏内的 ModMenu 和 YetAnotherConfigLib (YACL) 访问客户端配置屏幕。
📊 背包战斗负载对比
| 战斗场景 | 原版占用空间 | 使用 Potion Stacker Addon 后 |
|---|---|---|
| 凋灵之战(12 瓶生命恢复 II) | 12 个背包格子 | 仅 1 个背包格子 |
| 下界探索(8 瓶抗火药水) | 8 个背包格子 | 仅 1 个背包格子 |
| PvP 负载(4 瓶速度 II + 4 瓶力量 II) | 8 个背包格子 | 2 个背包格子 |
| 末地袭击(16 瓶喷溅/滞留药水) | 16 个背包格子 | 仅 1 个背包格子 |
⚙️ 动态 GameRules
使用原版 GameRule 命令在游戏内实时配置限制:
| GameRule 键名 | 类型 | 默认值 | 有效范围 | 描述 |
|---|---|---|---|---|
potion-stacker-addon:potion_limit |
Integer |
16 |
1 – 2147483647 |
药水(可饮用、喷溅、滞留、水瓶)的最大堆叠大小。 |
potion-stacker-addon:stew_limit |
Integer |
16 |
1 – 2147483647 |
炖菜和汤的最大堆叠大小(如果加载了 Stew Stacker Addon,则委托给该模组)。 |
📖 安装与设置
- 为你的目标 Minecraft 版本安装 Fabric Loader 和 Fabric API。
- 安装 Dasik Library 和 Stack Size Adjuster。
- 将
potion-stacker-addon-<version>.jar放入.minecraft/mods文件夹。 - (可选) 安装 ModMenu 和 YetAnotherConfigLib (YACL) 以在游戏内访问设置 GUI。
☕ 支持与创作者社区
我是一名独立单人开发者,致力于制作轻量级、增强原版体验的模组,尊重你的时间与游戏性能。如果 Potion Stacker Addon 简化了你的生存体验,请考虑支持未来的开发:
[!TIP] 🇮🇩 印尼本地支付说明: 印尼的支持者可以通过 Saweria 或 SocioBuzz 使用本地支付方式(GoPay, OVO, Dana, QRIS, LinkAja)直接支持我的工作!
加入我的官方 Discord 社区,获取开发更新、早期测试版本以及友好的技术支持:
- 💬 Discord 社区:
📜 元数据与权限
| 属性 | 值 |
|---|---|
| 模组名称 | Potion Stacker Addon |
| 命名空间 / Mod ID | potion-stacker-addon |
| 许可证 | GNU 通用公共许可证 v3.0 (GPLv3) |
| 端安全性 | 服务器与客户端(同步) |
| 必需依赖 | Fabric API, Dasik Library, Stack Size Adjuster |
| 可选依赖 | ModMenu, YetAnotherConfigLib (YACL), Stew Stacker Addon |
| 源代码 | GitHub 仓库 |
| 问题追踪器 | GitHub Issues |
[!IMPORTANT] 📦 整合包权限与分发:
你完全可以将此模组包含在任何平台的任何整合包中!但是,模组文件必须通过官方分发渠道(Modrinth 或 CurseForge)直接下载。严禁将原始模组 JAR 文件重新上传、镜像或再分发至第三方镜像站点、抓取门户或未授权的启动器。
⚖️ 许可证与分支指南(禁止无变更的重新上传):
本项目在 GNU GPLv3 下开源。鼓励你查看代码、从中学习,并 Fork 仓库以创建真正的修改、重大功能扩展或社区移植版——前提是该项目在保持 GPLv3 开源的同时给予适当的署名。
然而,严格禁止直接的 1:1 重新上传、无任何有意义功能更改的克隆分支,或以不同项目名称重新发布相同构建版本(例如为了刷取下载量或奖励)。
为 Minecraft 社区 ❤️ 打造
属于 Instant Gratification Collection 系列
🧪 Potion Stacker Addon
"Brew More, Clutter Less. Stack Drinkable, Splash, and Lingering Potions Safely."
📖 Introduction
In vanilla Minecraft, alchemy items have remained unstackable since their inception. Preparing for boss encounters against the Wither or Ender Dragon, navigating deep Ancient Cities, or raiding Nether Fortresses turns your inventory into a cluttered mess where a standard combat buff loadout (Speed, Fire Resistance, Strength, Regeneration, Healing) consumes virtually all available slots.
Potion Stacker Addon is an official companion addon for Stack Size Adjuster, created under the Instant Gratification design philosophy. It registers dedicated item override handlers to stack drinkable potions, splash potions, lingering potions, and water bottles up to 16 (or custom limits) in your inventory and storage containers. It also includes built-in stacking for vanilla stews and soups with automatic conflict avoidance if you install Stew Stacker Addon.
[!IMPORTANT] Companion Addon Requirement: Potion Stacker Addon is designed specifically as an addon for Stack Size Adjuster. You must have Stack Size Adjuster and Dasik Library installed alongside this mod for it to function.
[!NOTE] 1 Jar 1 Version Policy: I build 1 dedicated JAR for each Minecraft version (e.g., 1.20.1, 1.21.1, 1.21.11, 26.1.2, 26.2, 26.3). Download the exact build that matches your Minecraft version.
Part of the Instant Gratification Collection — mods that respect the player's time.
✨ Features
🍶 Safe Potion Stacking (Default: 16)
- All Potion Forms Supported: Standard drinkable potions, splash potions, lingering potions, and water bottles stack up to 16 by default.
- Component & NBT Safety: Vanilla item matching ensures potions only stack when their potion contents, effects, and durations are identical.
- Normal Consumption Mechanics: Drinking or throwing a potion consumes exactly 1 item from the stack as expected.
🍲 Bonus Stew & Soup Stacking (Default: 16)
- Stacks Mushroom Stew, Rabbit Stew, Suspicious Stew, and Beetroot Soup up to 16 by default.
- Zero-Conflict Handoff: If you also run Stew Stacker Addon, Potion Stacker Addon automatically defers stew handling to that mod to ensure seamless compatibility.
⚡ Dynamic Real-Time Client-Server Sync
- Server GameRule modifications synchronize immediately to connected clients over custom network payloads (
PotionLimitSyncPayload). - Active container menus and inventories refresh dynamically when limits change without needing a server or world restart.
🔓 Uncapped Customization Freedom
- Adheres to the Freedom Over Anti-Crash philosophy. Stack size limits are uncapped integers (
1to2,147,483,647), allowing server administrators and singleplayer worlds to configure any custom stack threshold.
🖥️ Dual-Context Configuration & In-Game GUI
- Configuration template stored at
config/potion-stacker.json. - When generating a brand-new world, your baseline JSON config template is automatically applied to the world's GameRules.
- Client configuration screen available in-game via ModMenu and YetAnotherConfigLib (YACL).
📊 Inventory Combat Loadout Comparison
| Combat Scenario | Vanilla Footprint | With Potion Stacker Addon |
|---|---|---|
| Wither Fight (12 Healing II Potions) | 12 inventory slots | 1 single inventory slot |
| Nether Exploration (8 Fire Res Potions) | 8 inventory slots | 1 single inventory slot |
| PvP Loadout (4 Speed II + 4 Strength II) | 8 inventory slots | 2 inventory slots |
| End Raid (16 Splash / Lingering Potions) | 16 inventory slots | 1 single inventory slot |
⚙️ Dynamic GameRules
Configure limits in real-time in-game using vanilla GameRule commands:
| GameRule Key | Type | Default | Valid Range | Description |
|---|---|---|---|---|
potion-stacker-addon:potion_limit |
Integer |
16 |
1 – 2147483647 |
Maximum stack size for potions (drinkable, splash, lingering, water bottles). |
potion-stacker-addon:stew_limit |
Integer |
16 |
1 – 2147483647 |
Maximum stack size for stews and soups (deferred to Stew Stacker Addon if loaded). |
📖 Installation & Setup
- Install Fabric Loader and Fabric API for your target Minecraft version.
- Install Dasik Library and Stack Size Adjuster.
- Place
potion-stacker-addon-<version>.jarinto your.minecraft/modsfolder. - (Optional) Install ModMenu and YetAnotherConfigLib (YACL) for in-game settings GUI access.
☕ Support & Creator Community
I am an independent solo developer creating lightweight, vanilla-enhancing mods that respect your time and game performance. If Potion Stacker Addon streamlines your survival, consider supporting future development:
[!TIP] 🇮🇩 Indonesian Local Payment Note: Indonesian supporters can support my work directly using local payment methods (GoPay, OVO, Dana, QRIS, LinkAja) via Saweria or SocioBuzz!
Join my official Discord community for development updates, early test builds, and friendly support:
- 💬 Discord Community:
📜 Metadata & Permissions
| Property | Value |
|---|---|
| Mod Name | Potion Stacker Addon |
| Namespace / Mod ID | potion-stacker-addon |
| License | GNU General Public License v3.0 (GPLv3) |
| Side Safety | Server & Client (Synchronized) |
| Required Dependencies | Fabric API, Dasik Library, Stack Size Adjuster |
| Optional Dependencies | ModMenu, YetAnotherConfigLib (YACL), Stew Stacker Addon |
| Source Code | GitHub Repository |
| Issue Tracker | GitHub Issues |
[!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
下载 IG: Potion Stacker Addon
下载 IG: Potion Stacker Addon
下载 IG: Potion Stacker Addon
下载 IG: Potion Stacker Addon
下载 IG: Potion Stacker Addon
下载 IG: Potion Stacker Addon
下载 IG: Potion Stacker Addon
下载 IG: Potion Stacker Addon
下载 IG: Potion Stacker Addon
下载 IG: Potion Stacker Addon
[1.0.0+1.21.1]
新增
- 为 Minecraft 1.21.1 的首次发布。
- 通过 Stack Size Adjuster 实现药水与炖菜的自定义堆叠数量覆盖集成。
- 完全动态的
/gamerule potion-stacker-addon:potion_limit和potion-stacker-addon:stew_limit游戏内规则(GameRules)。 - 通过
PayloadTypeRegistry.playS2C()实现现代化的 S2C 数据包同步。 - 可选的客户端配置 GUI,由 Mod Menu 和 UniversalConfigScreen 提供支持,基于 DasikLibrary。
链接与资源:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
原版世界生成优化模组
模组
AE2:一款流行的自动化与存储模组
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
简单的原版生物群系更新,包含有趣的怪物、方块等更多内容!
评论 0
登录后参与评分
还没有评论,来抢沙发吧