
Data Driven Stack Sizes
Override default `max_stack_size`s using data-driven item tags (Data Not Included).Increase the maximum value of the max-stack-size data component for 99 to 2048. Dev on all my projects will be paused for the duration of the BDS boycott against Microsoft.
Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Changelog
Features
New TAG: Max_Stack_Size_0
Datapack now includes item tag Max_Stack_Size_0. Unlike other max_stack_size, where overloaded stacks maintain their current count: MSS_0 reduces tagged item's stack counts to 0 automatically.
USE OF THIS FEATURE CAN, WILL, AND IS INTENDED TO RESULT IN PERMANENT LOSS OF ITEMS!!!
Any item tagged with max_stack_size_0 will be automatically emptied any-time their max_stack_size is checked. Which happens, when a stack is validated, moved, used, saved, or looked at funny. You will not see them disappear: They will simply be gone
USE OF THIS FEATURE CAN, WILL, AND IS INTENDED TO RESULT IN PERMANENT LOSS OF ITEMS!!!
This behavior can be bypassed using the previously established DDS-ignore: DDS will intentionally ignores any item which a non-empty custom_data component. That option has been reproduced here.
USE OF THIS FEATURE CAN, WILL, AND IS INTENDED TO RESULT IN PERMANENT LOSS OF ITEMS!!!
Known Issues
Forbidden Give Commands are Too Generous
Using the /give
command to give X of any item tagged max_stack_size_0
gives the target a stack of that item with a count of 1 when it should give 0. These forbidden stacks do near immediately disappear, but their very existence is a bug of low priority.
Files
Metadata
Release channel
BetaVersion number
0.10.7-1.21.4Loaders
Game versions
1.21.4Downloads
634Publication date
March 15, 2025 at 6:54 AMPublisher

Hydraheadhunter
Member