Stacker
A Minecraft modification that allows changing the maximum stack size for all items in the game. Compatible with Fabric versions 1.17, 1.18, 1.18.2, and 1.19!

The mod's settings default to 64, but you can change it to any other number (within int_max limits). However, the developer does not recommend setting values significantly exceeding 1 billion and does not provide support for stacks larger than 1,073,741,823 items.
For the mod to work, Stacc API and Cloth Config API are required. Stacc API is an embedded library, so you don't need to download it separately. For convenient in-game access to settings, installing Mod Menu is recommended, although this is not a mandatory requirement for the mod's functionality.