promotional bannermobile promotional banner

IG: Stack Size Adjuster

Stack Size Adjuster grants you full authority over item stack limits. Scale weapons, armor, blocks, and consumables dynamically at runtime.
Back to Files

stack-size-adjuster-1.4.18+26.2.jar

File namestack-size-adjuster-1.4.18+26.2.jar
Uploader
DasikIgaijinDasikIgaijin
Uploaded
Aug 10, 2026
Downloads
10
Size
906.6 KB
Mod Loaders
Fabric
File ID
8613949
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:ig-stack-size-adjuster-1599920:8613949"

Learn more about Curse Maven

What's new

## [1.4.18+26.2] - 2026-08-10

### Fixed
- **OutOfMemory & Negative Stack Size Infinite Loop Fix**: Updated `StackSizeManager.getModifiedStackSize` to ignore negative returns from legacy `BiFunction` overrides and added a fail-safe guard ensuring `getModifiedStackSize` NEVER returns `<= 0`. Resolves an infinite loop in `LootTable.createStackSplitter` during mob drops and chicken egg-laying (`Chicken.aiStep`) when addons returned `-1` for unhandled items.

## [1.4.17+26.2] - 2026-08-10

### Fixed
- **Addon Override Resolution**: Added `@FunctionalInterface CustomStackSizeOverride` in `StackSizeManager`. Returning a non-negative stack size (`>= 0`) explicitly sets the item's stack size (e.g. for `Stew Stacker Addon` or `Potion Stacker Addon`), bypassing general category fallbacks (`limit1`, `limit16`, `limit64`) even when the custom stack limit matches vanilla original stack size.

This mod has no additional files