📦 Stack Size Adjuster
🎮 Version Compatibility & Parity
This mod is active and fully supported:
- Minecraft 26.2+: Current public release —
v1.0.1
Take Control of Your Inventory. Custom Limits, No Boundaries.
Tired of inventory clutter? Or do you want to create a harder, more restricted survival experience? Stack Size Adjuster grants you full authority over item stack limits. Scale weapons, armor, blocks, and consumables dynamically at runtime.
Part of the Instant Gratification Collection — mods that respect the player's time.
✨ Features
🎚️ Category-Based Customization
Configure limits for the three standard Minecraft item categories:
- 64-Stack Limit: Standard stackable items (blocks, raw food, ores, building materials). Default:
64.
- 16-Stack Limit: Semi-stackable items (ender pearls, snowballs, eggs, signs). Default:
16.
- 1-Stack Limit: Unstackable items (weapons, tools, armor, potions, stews, beds). Default:
1.
🔢 Raw Integer Values
No more artificial caps! Adjust limits dynamically to any integer value from 1 up to 2,147,483,647.
- Overflow Protection Warning:
39,768,215 This threshold is specifically to prevent total-container overflows when filling containers completely with the same item type. Change it at your own risk!
- ⚠️ Performance Note: Moving or sorting extremely large item stacks (millions or billions) can cause transient game lag or frame stutter due to CPU calculation load.
- 🎒 Modded Container / Backpack Safety Formula: If you are using custom containers or modded backpacks, you can calculate the maximum safe stack size to fully fill the container without overflow using this formula:
Safe Stack Limit = 2,147,483,647 / [Total Slots in Container]
- 100-slot backpack:
21,474,836 max per slot
- 200-slot backpack:
10,737,418 max per slot
- Safe Reference List (for identical items):
- Hopper (5 slots):
429,496,729 max per slot
- Dispenser / Dropper (9 slots):
238,609,294 max per slot
- Single Chest / Shulker Box / Barrel (27 slots):
79,536,431 max per slot
- Double Chest / Large Chest (54 slots):
39,768,215 max per slot
- Note on Different Items: If you are storing different item types in the same container, you can safely go up to the absolute limit of
2,147,483,647 per slot since the game saves and tracks different item types independently!
- Flat vs. Nested Storage Safety:
- Player Inventory (Fully Immune): The player inventory is saved flatly as direct separate tags inside the player
.dat files. Because individual slot counts are never summed up during saving, you can safely set and fill all 36 slots of your player inventory up to the absolute maximum limit of 2,147,483,647 with identical items without any overflow or deletion issues!
- Chests, Barrels, and Shulker Boxes (Vulnerable to Overflow): World containers (like Chests, Double Chests, and Barrels) and nested container items (like Shulker Boxes and Bundles) are vulnerable. Tooltip renderers, inventory sorters, or game functions sum up their total contents. If the total count of identical items inside exceeds 2.14 billion, it triggers a signed 32-bit integer overflow and deletes your items. Make sure slots in these containers stay under the safe per-slot limits!
🔓 Slot Capacity Bypass
Say goodbye to the standard slot stack limit of 99 items. Stack Size Adjuster overrides the default container and stack serializer limits, allowing you to hold massive stacks (e.g., 640 or 1000) in any chest, hopper, or inventory slot.
📐 Dynamic Font Scale-Down
Worried about large numbers overlapping slots? When stack counts exceed 99, the client-side renderer dynamically scales down the count numbers to fit perfectly within slot boundaries, ensuring text never overlaps.
📡 Dynamic GameRules (No Restarts Required)
Configure limits instantly on-the-fly using namespaced GameRules. Client configurations automatically sync with the server during logins or runtime changes.
⚙️ Configuration (Native Game Rules)
Configure options in-game using /gamerule or via the integrated YACL config GUI:
stack-size-adjuster:items_64_limit
stack-size-adjuster:items_16_limit
stack-size-adjuster:items_1_limit
📦 Installation
- Install Fabric API.
- Download the mod jar and place it in your
mods folder.
- Launch the game.
☕ Support
If you enjoy the Instant Gratification collection, consider supporting development!


🇮🇩 Indonesian Users: SocioBuzz and Saweria support local payment methods (Gopay, OVO, Dana, etc.) if you want to support me without using PayPal/Ko-fi!
📦 Modpack Permissions
undefined
Modpack Distribution Policy:
Since this mod is open-source (GPLv3), you are free to include it in any modpack! If you want to support my work, downloading it directly through the official platform page (CurseForge) is highly appreciated.undefined
📜 Credits
| Role |
Author |
| Creator |
Dasik (Rifaditya) |
| Collection |
Instant Gratification |
| License |
GPLv3 |
**Made with ❤️ for the Minecraft community** *Part of the Instant Gratification Collection*