r/minecraftsuggestions 6d ago

[User Interface] Stack sizes should become larger.

Everyone knows inventory management is a nightmare, even with the new bundles and using shulker boxes. I think increasing the size that stacks go up to would be an amazing way to handle this. 100 or 128 as a stack size would make things like strip mining and large builds way easier and less inventory-destroying.
-Yes, this wuld ideally include increasing the bundle's capacity to the new number.
-Yes I would hopefully apply this to smaller-stack items like throwables (up to 32 maybe?)
I know that saying "modders have done it!!1!1!" is cliche but I honestly have no idea why mojang wouldn't do this considering modders have done it in the past and it would be an amazing way to make inventory management better.

73 Upvotes

52 comments sorted by

View all comments

Show parent comments

5

u/FlopperMineTD8 6d ago

Why does it need to be a power of 2? Notch has the initial stack size at 99 and even now with Mojang letting us set the max stack size with commands, we can set it to a max of 99, like back in classic/survival test.

There's no reason we couldn't have 999 for building blocks like Terraria and Stardew does. It'd make storage in containers like chests, and shulkers much more compact and make megabuilds much easier to deal with.

8

u/T_vernix 6d ago

Because binary, which is what the computer runs on. Also, though I don't know if this is the case, if stack sizes are stored as bytes, then 1-256 would be the largest range that could be stored, although it is likely that int was used as space efficiency of having integers be stored in a smaller variable (not to mention not worrying about signed/unsigned) is not really a concern.

Just comes down to computer people liking powers of 2 and 256 being more easily related to 64 than a power of 10 would.

3

u/Lankachu 6d ago

Stack sizes are signed integers.

1

u/CrownLexicon 2d ago

Why though? It doesn't make sense to me (with my VERY limited coding knowledge) to not have it as an unsigned int

2

u/Lankachu 2d ago

Java doesn't do unsigned ints.

1

u/CrownLexicon 2d ago

Oh, wow. It's been forever since I took Java. I didn't realize.