Stackforged:你的智能背包助手
每次挖矿回来都要花几分钟整理箱子?希望你只需把物品倒出来,就能继续冒险?Stackforged 是一款优雅的客户端解决方案,解决你的背包烦恼!
? 功能特性
Stackforged 在你的背包界面中添加了一个简单且可配置的按钮,让你对物品拥有强大的控制力。它设计得聪明、轻量,并与你喜爱的模组兼容。
一键堆叠:只需单击一次,Stackforged 就会立即扫描附近的箱子,并将背包中的任何物品放入现有的堆叠中。再也不用手动寻找存放鹅卵石的那个箱子了!
强力强制堆叠:需要快速清空背包吗?Shift+点击按钮执行“强制堆叠”。这将首先尝试填满现有的堆叠,然后将剩余的物品存入附近箱子的任何可用空槽位中。这是终极的“倾倒”按钮。
自定义 UI:按钮由你掌控!Alt+点击(Mac 上为 Option+点击)并拖动按钮,将其放置在屏幕上的任意位置。Stackforged 会记住该位置。
高度可配置:使用游戏内的配置菜单更改箱子的搜索半径(从一个小衣柜到一个大仓库),并决定是否在堆叠过程中包含快捷栏。
专为兼容性打造:Stackforged 旨在与几乎任何模组化的背包系统配合使用,从 Iron Chests 到复杂的存储系统。通过使用 Forge 的标准物品处理功能,它可以智能地与任何设计用于存放物品的方块交互。
? 使用方法
打开背包:Stackforged 按钮将出现。
点击:将物品堆叠到附近箱子中已有的堆叠里。
Shift+点击:将物品堆叠到已有堆叠中,然后堆叠到任何空槽位中。
Alt+点击并拖动:将按钮移动到你想要的位置。
? 更新日志
版本 1.0.0 - 初始发布
添加了核心的“堆叠到附近箱子”功能。
添加了“强制堆叠”功能,以填充空槽位。
实现了可移动的 GUI 按钮,显示在背包界面中。
添加了关于搜索半径和快捷栏包含的配置选项。
初始发布完全在与 AI 合作下开发完成。
剧透
? 未来计划
这仅仅是 Stackforged 的开始!下一个主要计划的功能是背包标签系统。你可以为特定箱子分配自定义标签(如“矿石”、“农业”或“魔法”),从而实现比正常堆叠优先级更高的更精确、更强大的整理功能。
? AI 驱动模组的实验
Stackforged 不仅仅是一个实用工具模组;它是人机创造性协作力量的证明。整个模组——从最初的概念到最终的可运行代码——都是在与大型语言模型的合作下开发的。
项目的各个方面都是通过对话引导和生成的:
代码:所有 Java 类,从主模组文件到客户端事件处理程序和服务端排序逻辑,均由 AI 根据功能请求编写。
构建脚本:复杂的 Gradle 配置文件由 AI 生成并优化。
调试:当错误和崩溃不可避免地发生时,我们共同解决了它们。通过提供错误日志并描述问题,AI 能够分析问题并生成修正后的代码。
素材与文本:甚至用于生成模组图标和横幅的提示词,以及这篇 CurseForge 描述本身,都是由 AI 制作的。
这个项目展示了开发的新前沿,其中 AI 充当不知疲倦、知识渊博的结对程序员,以惊人的速度将想法变为现实。
权限
你可以在任何整合包中使用此模组。如果你能链接回此 CurseForge 页面,我将不胜感激,但这并非必需。
Stackforged: Your Smart Inventory Assistant
Tired of spending minutes sorting chests after every mining trip? Wish you could just dump your items and get back to the adventure? Stackforged is the elegant, client-side solution to your inventory woes!
? Features
Stackforged adds a simple, configurable button to your inventory screen that gives you powerful control over your items. It's designed to be smart, lightweight, and compatible with your favorite mods.
One-Click Stacking: With a single click, Stackforged will instantly scan for nearby chests and deposit any items from your inventory into existing stacks. No more manually hunting for that one chest with your cobblestone!
Powerful Force Stacking: Need to clear out your inventory fast? Shift+Click the button to perform a "Force Stack." This will first try to top off existing stacks and then deposit any remaining items into any available empty slot in nearby chests. It's the ultimate "dump" button.
Customizable UI: The button is your own! Alt+Click (or Option+Click on Mac) and drag the button anywhere on your screen to place it exactly where you want it. Stackforged will remember the position.
Highly Configurable: Use the in-game config menu to change the search radius for chests (from a small closet to a whole warehouse) and decide whether or not to include your hotbar in the stacking process.
Built for Compatibility: Stackforged is designed to work with almost any modded inventory, from Iron Chests to sophisticated storage systems. By using Forge's standard item handling capabilities, it can intelligently interact with any block that's designed to hold items.
? How to Use
Open your Inventory: The Stackforged button will appear.
Click: Stack items into existing stacks in nearby chests.
Shift+Click: Stack items into existing stacks, then into any empty slots.
Alt+Click and Drag: Move the button to your desired location.
? Changelog
Version 1.0.0 - Initial Release
Added the core "Stack to Nearby Chests" functionality.
Added "Force Stack" functionality to also fill empty slots.
Implemented the movable GUI button that appears in the inventory.
Added configuration options for search radius and hotbar inclusion.
Initial release built entirely in collaboration with an AI.
Spoiler
? Future Plans
This is just the beginning for Stackforged! The next major feature planned is an inventory tagging system. You'll be able to assign custom tags (like "Ores," "Farming," or "Magic") to specific chests, allowing for even more precise and powerful organization with higher priority than normal stacking.
? An Experiment in AI-Powered Modding
Stackforged is more than just a utility mod; it's a testament to the power of creative collaboration between human and machine. This entire mod—from the initial concept to the final, functional code—was developed in partnership with a large language model.
Every aspect of the project was guided and generated through a conversation:
The Code: All Java classes, from the main mod file to the client-side event handlers and the server-side sorting logic, were written by the AI based on feature requests.
The Build Scripts: The complex Gradle configuration files were generated and refined by the AI.
The Debugging: When bugs and crashes inevitably occurred, we worked through them together. By providing error logs and describing the problems, the AI was able to analyze the issues and produce the corrected code.
The Assets & Text: Even the prompts used to generate the mod's icon and banner, along with this very CurseForge description, were crafted by the AI.
This project demonstrates a new frontier in development, where AI acts as a tireless, knowledgeable pair programmer, turning ideas into reality at an incredible speed.
Permissions
You are free to use this mod in any modpack. I would appreciate a link back to this CurseForge page, but it is not required.
评论 0
登录后参与评分
还没有评论,来抢沙发吧