跳到正文

Stack Config

作者:linked

Set custom max stack sizes for any item.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Stack Config

Set custom max stack sizes for any item.

How it works

Edit the config/stack_config.json and set stack sizes however you like, by item ID or by tag. The mod hooks into ItemInstance.getMaxStackSize to override the vanilla limit at the source.

Features

  • Per-item and per-tag: use minecraft:ender_pearl to target a single item or #minecraft:boats to catch everything in a tag.
  • Sensible defaults: potions, buckets, minecarts, horse armour, banners, signs, stews, and everything else vanilla limits to 1 or 16 are preconfigured to stack to 16 or 64. First run generates the file with these as a starting point.
  • Bucket behaviour: placing a stacked solid bucket (powder snow, azalea, etc.) leaves the empty bucket in your hand and adds extras to inventory, so you don’t lose items to the usual “bucket returns to hand” logic.
  • Config reload: edit the file any time; changes apply on the next getMaxStackSize call without a restart.

Config format

{
  "minecraft:ender_pearl": 64,
  "minecraft:saddle": 64,
  "#minecraft:beds": 64
}

Prefix with # to match a tag.

常见问题

Stack Config 支持哪些 Minecraft 版本?

Stack Config 支持 Minecraft Java 版 1.18.2–26.2,共 24 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Stack Config 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

linked 的其他作品

查看全部 →