
Illegal Stack Fixer
Requirements: The mod requires Fabric Loader and Fabric API to function. The mod is installed on the Minecraft server side.
Installation: Simply place the mod file in the mods folder on your server.
Functionality Description: Illegal Stack Fixer is a server-side mod that automatically corrects incorrect item quantities in stacks. When a player opens any container (chest, mob inventory, etc.), the mod checks all item stacks and sets their size according to the maximum allowable value for that item type.
How it works: The mod constantly monitors the inventories of all containers and entities with storage. Upon detecting a stack with an item count exceeding the maximum possible, it instantly adjusts this value to the correct maximum. This prevents various errors and crashes that can occur due to "illegal" stacks in the game.