stack-size-adjuster-1.4.18+26.2.jar
Curse Maven Snippet
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

