I have always wondered how the 64 or the 16, why they did not leave it at 99, as it is true.
Because the number is nicely divisible. 32, 16, 8, etc. Just like in the bit system stops.
Ahh thanks
I do not think that has a technical reason.
Technically, it makes no difference whether you take 64 or 50, for both numbers you need min. One byte. In computer science, numbers are usually represented by Int16 (16-bit or 2-byte), Int32 (32-bit or 4-byte), Int64 (64-bit or 8-byte) and a few others. One byte can represent up to 265 combinations, so that's the largest possible value. For Int32 this is 32767 and for Int32 we're already at 2147483647.
You might want to save space by using only one byte, but that's not worth it in the early days of Minecraft, because that saves you a fraction of the space compared to the rest of what Minecraft needs. And even if, you could still go up to 255, so you could also insert 200 stacks.
16, 32 and 64 are the multiple of 8, one byte has 8 bits. Maybe that was just the first number Notch thought of in the beginning, and that's how it came to be.
Okey I did not quite understand the first two parts but the last one already.
That was the technical explanation why it is completely irrelevant which stack size you set.
So not necessarily necessary to have understood.