A major overhaul of the mod’s stack-size system, configuration, and management workflow.
## Major changes
- Reworked the internal stack-size override system
- Rebuilt the configuration format into a simpler single-rule list
- Added in-game commands for managing stack-size rules
- Added support for resetting configured items and tags back to their default stack size
- Added save and reload commands for explicitly controlling when config changes are written to disk
- Added filtering and paging support for listing configured rules
- Improved handling of very large stack sizes
- Improved rendering of large stack counts
- Explicit per-stack `MAX_STACK_SIZE` component changes are now respected
- Normal Minecraft stacking behavior for differing components and damage values is preserved
- Improved compatibility when the mod is installed server-side without requiring it on the client
## Config changes
The old multi-list configuration format has been replaced by a single `overrides` list.
Rules now use the format:
`item_or_tag=value`
Exact item rules take priority over tag rules. Among rules of the same type, later rules override earlier ones.
The special value `default` can be used to force an item or tag back to its normal Minecraft stack size.
## Commands
Added `/itemsstack` commands for:
- Setting rules
- Removing rules
- Resetting rules to default
- Clearing rules
- Listing configured rules
- Saving the config
- Reloading the config
- Viewing command help
Config changes are applied immediately. `/itemsstack save` writes the current configuration to disk, while `/itemsstack reload` discards unsaved changes and reloads the saved configuration.
Optional dependencies
Mod Menu
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }