Stack Size Config Entry
Dealman opened this issue ยท 3 comments
Version Information
Minecraft:
1.12.2
Forge:
14.23.5.2825
Apple Core:
3.2.0
Hunger Overhaul:
1.3.3 Jenkins148
Report Information
By default most(all?) food stacks are reduced to 16, this is undesirable among a lot of players. The what I assume is the intended config entry for changing this - does not appear to be working.
I:foodStackSizeMultiplier and B:modifyFoodStackSize does in fact not change this behavior and maximum stack size is still set to 16.
What actually controls this behavior is I:chestLootMaxStackSize. Which by default is set to 16. Presumably this should only apply to food that spawn in chests - and not the player's inventory.
Steps to Reproduce
- Install AppleCore + HungerOverhaul
- Use Default Settings
- Food stacks are now limited to 16.
- Change B:modifyFoodStackSize to false.
- Maximum stack size still 16.
If you set modifyFoodStackSize to false in an existing world, the stacks that were modified will stay at 16, It does not retroactive reset the max stack size for foods. foodStackSizeMultiplier multiplies to the stack size, and also depends on the hunger level of the food. https://github.com/progwml6/HungerOverhaul/blob/1.12/src/main/java/iguanaman/hungeroverhaul/module/tweak/TweaksModule.java#L40-L59
I see... I was however able to stack my steaks after I changed I:chestLootMaxStackSize to 64...? Which was what lead me to think it was not working as intended.
We noticed some weird behavior with the stacks once this was changed on the server. Turns out you need to mirror these changes on every client as well.
If we tried to move a stack of >16 it would only put 16 items into a new slot client-side, whereas the server-side it put more than 16 or the full stack.
This lead to some annoying GUI desync.