Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Data Driven Stack Sizes

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.

2,361
15
Storage
Utility

Compatibility

Minecraft: Java Edition

1.21

Platforms

Fabric

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki

Creators

Hydraheadhunter
Hydraheadhunter Member

Details

Licensed CC-BY-NC-SA-4.0
Published last year
Updated 5 months ago
DescriptionGalleryChangelogVersions
All versionsData Driven Stack Sizes 0.10.7-1.21.4

Data Driven Stack Sizes 0.10.7-1.21.4

Download
Report

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

datastacks-0.10.7-1.21.4.jar(950.1 KiB) Primary
Download

Metadata

Release channel

Beta

Version number

0.10.7-1.21.4

Loaders

Fabric

Game versions

1.21.4

Downloads

634

Publication date

March 15, 2025 at 6:54 AM

Publisher

Hydraheadhunter

Hydraheadhunter

Member

Version ID

Modrinth is open source.

main@acf2694

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.