作者:rebot | 分类:模组
Minecraft 版本: 1.21.11
平台: fabric
标签: game-mechanics storage utility
Configurable stack sizes (vanilla + mods)
A lightweight server-side mod that generates a config with all items (vanilla + modded) and lets you set the max stack size per item. Works in singleplayer (integrated server) and on dedicated servers.
(optional, require Fabric API)
/stackmanager reload — reload the config and append any missing items.
/stackmanager set — set a new limit (clamped to 99).
/stackmanager set default — restore the game/mod default (clamped to 99).
Without Fabric API the mod still works; edit the file and restart (or reload using your preferred method).
Path: config/stackmanager_items.json
{
"formatVersion": 1,
"items": {
"minecraft:acacia_button": 64,
"minecraft:oak_planks": 99
}
}
(VS Code / most editors; Windows/Linux = Ctrl, macOS = Cmd unless noted)
Shift+Alt+F (Win/Linux) · Shift+Option+F (macOS)
Fabric API: optional but recommended for better experience (enables /stackmanager commands and smoother reloading).
minecraft:potion: 16
minecraft:splash_potion: 16
minecraft:lingering_potion: 8–16
Benefit: fewer inventory trips during raids, mining, and boss fights.
Note: Potions carry NBT (effect type). Only identical potions stack.
Enable advanced tooltips with F3 + H, then hover the item: you’ll see namespace:item.
No. For network safety the effective cap is 99.
Both. In singleplayer, drop the mod into mods/. On a dedicated server, only the server needs the mod.
请登录后举报
暂无评论,抢个沙发吧~