Piggy Inventory
一款简单而强大的模组,旨在提升您在 Minecraft 中的物品栏管理体验。Piggy Inventory 致力于简化您与物品、工具和容器的交互过程。
截图



⚠️ 免责声明
这是一个个人项目。 它提供 现状(AS IS),可能会存在问题。
- 无支持: 请勿期待常规支持或错误修复。
- 无 Forge 移植版: 没有计划将此模组移植到 Forge/NeoForge。
- 请自行承担使用风险。
如果您想贡献修复或新功能,欢迎 Fork 该项目或提交拉取请求!
功能
⚡ 自动交换
- 自动工具交换:自动选择最适合您当前挖掘方块的工具备选方案。
- 支持精准采集/幸运偏好设置(可按矿石配置)。
- 尊重附魔效果(效率、耐久等)。
- 自动武器交换:在攻击时自动切换到您的最佳武器。
- 考虑伤害、附魔(锋利、亡灵杀手、节肢杀手等)。
- 针对不同目标类型可配置偏好设置。
? 自动补给
- 工具/武器补给:战斗或挖掘永不中断——损坏的工具会自动替换。
- 食物补给:无需打开物品栏即可持续进食。
- 智能匹配:自动在您的物品栏中找到下一个最佳物品。
? 物品栏管理
- 物品栏排序:通过按 R 键或 鼠标中键点击 瞬间排序您的物品栏或容器。
- 高级排序引擎:一种稳健的、基于优先级的算法,可清除巨型堆叠并避免无限循环。
- 智能分类:在应用次要排序(材质、字母顺序)之前,将物品逻辑分组(工具、武器、资源、食物)。
- 防故障逻辑:优雅地处理不可交换的物品和网络延迟,以防止“排序舞蹈”(物品来回弹跳)。
- 多种算法:智能分类、字母顺序、创造模式顺序、稀有度、类型、材质、颜色、标签。
- 可通过 JSON 列表自定义。
- 快速拾取 / 存入:
- 优化版 QuickLoot:在与大型容器交互或快速滚动时提高了稳定性。
- Shift + 滚轮:在物品栏之间移动匹配的物品。
- Ctrl + 滚轮:在物品栏之间移动所有物品。
- 注意:这仅在注视 容器(箱子、桶等)时有效,以保留原版潜行功能!
- 槽位锁定:锁定物品栏槽位,防止意外排序或快速拾取。
- 连续合成:按住鼠标左键即可反复进行合成、交易或移动物品。再也不用疯狂点击了!
控制键
您可以在标准 Minecraft 控制菜单下的 “Piggy Inventory” 部分重新绑定这些按键。
| 操作 | 默认按键 | 描述 |
|---|---|---|
| 工具偏好菜单 | H |
打开径向菜单以设置精准采集/幸运偏好。 |
| 武器偏好菜单 | G |
打开径向菜单以配置武器交换行为。 |
| 排序物品栏 | R (在物品栏内) |
排序玩家物品栏。 |
| 排序容器 | 鼠标中键点击 |
排序您正在注视的容器。 |
| 快速拾取匹配 | Shift + 滚轮 (默认未绑定) |
在注视容器时移动匹配的物品。 |
| 快速拾取全部 | Ctrl + 滚轮 (默认未绑定) |
在注视容器时移动所有物品。 |
? 混合按键系统
为避免与原版的控制键冲突:
- 拾取匹配:默认为 未绑定。当未绑定时,使用 Shift 键。
- 拾取全部:默认为 未绑定。当未绑定时,使用 Control 键。
- 自定义:如果您不希望使用 Shift/Ctrl,请在控制菜单中将其绑定到特定按键。
配置
通过 Mod Menu 访问配置菜单。
- 排序:选择默认算法和布局(紧凑、行、列、网格)。
- 工具/武器交换:切换自动交换,配置偏好设置。
- 槽位锁定:设置要锁定的槽位。
- 快速拾取:调整延迟和行为。
- 自定义列表:配置精准采集方块、工具优先级等。
依赖项与安装
要求
- Minecraft: ~1.21.1
- Fabric Loader: >=0.18.1
- Java: >=21
必需模组
- Fabric API: 任意版本
- YACL (Yet Another Config Lib): ~=3.6.1+1.21-fabric
- Piggy Lib: >=1.0.1
- (可选) Mod Menu: >=11.0.3 - 强烈建议安装以便访问配置。
安装步骤
- 从 Releases 下载
.jar文件。 - 为 Minecraft 1.21.1 安装 Fabric Loader。
- 将
piggy-inventoryjar 文件(连同 Fabric API、YACL 和 Piggy Lib)放入您的.minecraft/mods文件夹中。 - 启动游戏!
灵感
本模组灵感来源于:
- Tweakeroo - 先进的库存管理功能和自动补充机制。
- Inventory Profiles Next - 排序算法和库存整理功能。
- Mouse Tweaks - 基于滚轮的物品移动和快速拾取功能。
- Inventory Tabs - 库存管理的用户界面/用户体验设计启发。
许可证: CC0-1.0
Piggy Inventory
A simple yet powerful mod designed to enhance your inventory management experience in Minecraft. Piggy Inventory aims to streamline your interactions with items, tools, and containers.
Screenshots



⚠️ Disclaimer
This is a personal project. It comes AS IS and might have issues.
- No Support: Do not expect regular support or bug fixes.
- No Forge Port: There are NO plans to port this mod to Forge/NeoForge.
- Use at your own risk.
Feel free to fork the project or submit a Pull Request if you want to contribute fixes or features!
Features
⚡ Automatic Swapping
- Auto Tool Swap: Automatically selects the best tool for the block you are mining.
- Supports Silk Touch/Fortune preferences (configurable per-ore).
- Respects enchantments (Efficiency, Unbreaking, etc.).
- Auto Weapon Swap: Automatically switches to your best weapon when attacking.
- Considers damage, enchantments (Sharpness, Smite, Bane of Arthropods, etc.).
- Configurable preferences for different target types.
? Auto Refill
- Tool/Weapon Refill: Never stop fighting or mining - broken tools are automatically replaced.
- Food Refill: Eat continuously without opening inventory.
- Smart Matching: Finds the next best item in your inventory automatically.
? Inventory Management
- Inventory Sorting: Sort your inventory or containers instantly with R or Middle Click.
- Advanced Sorting Engine: A robust, prioritized algorithm that clears mega-stacks and avoids infinite loops.
- Smart Categorization: Groups items logically (Tools, Weapons, Resources, Food) before applying secondary sorting (Material, Alphabetical).
- Anti-Glitch Logic: Gracefully handles unswappable items and network latency to prevent the "sorting dance" (ping-ponging items).
- Multiple algorithms: Smart Category, Alphabetical, Creative Order, Rarity, Type, Material, Color, Tag.
- Customizable via JSON lists.
- Fast Loot / Deposit:
- Refined QuickLoot: Improved stability when interacting with large containers or during rapid scrolling.
- Shift + Scroll: Move matching items between inventories.
- Ctrl + Scroll: Move ALL items between inventories.
- Note: This only works when looking at a Container (Chest, Barrel, etc.) to preserve vanilla crouching!
- Slot Locking: Lock inventory slots to prevent accidental sorting or quick-looting.
- Continuous Crafting: Hold your click to craft, trade, or move items repeatedly. No more clicking spam!
Controls
You can rebind these keys in the standard Minecraft Controls menu under "Piggy Inventory".
| Action | Default Key | Description |
|---|---|---|
| Tool Preference Menu | H |
Opens radial menu to set Silk Touch/Fortune preference. |
| Weapon Preference Menu | G |
Opens radial menu to configure weapon swap behavior. |
| Sort Inventory | R (in inventory) |
Sorts your player inventory. |
| Sort Container | Middle Click |
Sorts the container you're looking at. |
| Fast Loot Matching | Shift + Scroll (unbound by default) |
Moves matching items while looking at container. |
| Fast Loot All | Ctrl + Scroll (unbound by default) |
Moves all items while looking at container. |
? Hybrid Key System
To avoid conflicts with vanilla controls:
- Loot Matching: Defaults to Unbound. When unbound, uses Shift.
- Loot All: Defaults to Unbound. When unbound, uses Control.
- Customization: Bind to specific keys in Controls menu if you prefer not using Shift/Ctrl.
Configuration
Access the configuration menu via Mod Menu.
- Sorting: Choose default algorithm and layout (Compact, Rows, Columns, Grid).
- Tool/Weapon Swap: Toggle auto-swapping, configure preferences.
- Slot Locking: Set which slots to lock.
- Quick Loot: Adjust delays and behavior.
- Custom Lists: Configure Silk Touch blocks, tool priorities, etc.
Dependencies & Installation
Requirements
- Minecraft: ~1.21.1
- Fabric Loader: >=0.18.1
- Java: >=21
Required Mods
- Fabric API: Any version
- YACL (Yet Another Config Lib): ~=3.6.1+1.21-fabric
- Piggy Lib: >=1.0.1
- (Optional) Mod Menu: >=11.0.3 - Highly recommended for accessing configuration.
Installation
- Download the
.jarfile from Releases. - Install Fabric Loader for Minecraft 1.21.1.
- Place the
piggy-inventoryjar (along with Fabric API, YACL, and Piggy Lib) into your.minecraft/modsfolder. - Launch the game!
Inspiration
This mod was inspired by:
- Tweakeroo - For advanced inventory management features and auto-refill mechanics.
- Inventory Profiles Next - For sorting algorithms and inventory organization.
- Mouse Tweaks - For scroll-based item movement and quick loot features.
- Inventory Tabs - For UI/UX inspiration in inventory management.
License: CC0-1.0
下载 Piggy Inventory
下载 Piggy Inventory
下载 Piggy Inventory
下载 Piggy Inventory
下载 Piggy Inventory
下载 Piggy Inventory
下载 Piggy Inventory
下载 Piggy Inventory
下载 Piggy Inventory
下载 Piggy Inventory
排序修复
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。

评论 0
登录后参与评分
还没有评论,来抢沙发吧