promotional bannermobile promotional banner

AmmoToBox

Instantly pack loose ammo into ammo boxes and auto-craft missing rounds.
Back to Files

ammotobox v1.2.0

File nameammotobox-1.2.0.jar
Uploaded
Nov 7, 2026
Downloads
19
Size
156.4 KB
Mod Loaders
Forge
File ID
9485046
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:ammotobox-1781604:9485046")

Learn more about Curse Maven

What's new

### v1.2.0 Major Update

**New Features:**
* **Interactive Settings GUI**: Press the `V` key to open a new UI. Players can visually toggle auto-crafting and exclude specific containers from scanning to prevent accidental consumption of materials.
* **Config Sanity Check**: If the server owner misconfigures the `deductionOrder`, the mod will safely abort and warn the player instead of consuming items.
* **Dynamic Config Updates**: Server owners can tweak settings in the `.toml` file on the fly. No server restart is required (using `/reload` is recommended for dedicated servers to ensure the file watcher triggers).

**Optimizations & Refactors:**
* **Optimized Memory Usage**: Removed redundant deep snapshots for Shulker Boxes, significantly reducing memory footprint.
* **Dynamic UI Rendering**: The UI dynamically hides buttons for disabled features. Enabled states are highlighted in green, while disabled states remain white.

---
**中文更新日志:**
* **交互式设置面板**:按 `V` 键呼出全新 UI,玩家可直观地开关自动合成,并自由选择排除不想要的检索(如主背包或潜影盒),防止误用珍贵材料。
* **配置安全校验**:如果服主写错了 `deductionOrder`,模组会安全拦截并提示,防止玩家物品丢失。
* **动态配置更新**:服主修改 `.toml` 配置文件后无需重启服务器即可生效(建议专用服务器服主顺手输一次 `/reload`,以确保系统底层文件监听触发)。
* **底层优化**:删除了潜影盒多余的深层快照,大幅降低内存占用。
* **动态 UI 渲染**:设置面板会根据服主开启的兼容项动态显示/隐藏按钮。开启状态高亮显示为绿色,关闭为白色。

*感谢大家的支持!/ Thanks for your support!*

This mod has no additional files