This small mod allows you to change the Stacksize of selected items (configurable with max of 64 and minimum of 1. Setting to 0 or less essentially disables the stacksize mod.)
Default items in the stacksize.cfg
- Eggs
- Boats
- Minecarts
- Saddles
- Horse armor (iron, gold, and diamond)
- Potions **
- Snowballs
- Enderpearls
- Doors (wood and iron)
- Enchanted books *
- Soup (includes Beetroot soup)
- Buckets of Milk, Lava, Water
- Signs
- Cake
- Beds
You are allowed to:
- include the plugin in public modpacks
- without asking me for permission
- you have to credit me (and provide a link to this page)
You are not allowed to:
- "republish" the plugin
- pretend that this plugin is your own work
The above items are the ones automatically included in the config file to use the new stacksize value, but this can be changed by editing the "stacksize.cfg" file along with the new stacksize value you wish to use. Other mod items can be added to this as well, but require the mod's registered item name.
* Enchanted books don't always stack nicely. Of course only certain enchantmented books can stack, like sharpness 1 can stack with other sharpness 1s. But sometimes you have to put them into a chest, close the chest, and re-open the chest to stack those two books. NOTE: using 2 or more enchanted books on an anvil will not produce a higher effect, but only consume all the enchanted books.
** Potions were removed from the stacksize.cfg for versions post 1.9 because the brewing stand was changed to prevent stackable items from being placed into them.
Adding other mod items to the stacksize requires the exact mod's item name. For example "modname:item_name". If you don't know what the mod item name is, you can find the mod item name by hitting F3+h. Then it'll show extra information in the tool tips, including the mod item name and ID. Open your inventory. Locate the mod item you wish to make stackable. Mouse over that item. You will see the default item name followed by a #NUMBER. The NUMBER is the item ID number. Below both of those, you will see grey text. The grey text is the mod item name. Copy that mod item name including the mod name into the Stacksize.cfg to change that item's stacksize. You can place it in the S:"Item List" as a new line below the other default minecraft items. [Thanks to DRTR0]
Another more complicated way, is to look at the fml-client-latest.log and search for the text "Registry add: " after starting minecraft with that mod once.
Is it possible to modify mod item stacksizes?
In reply to gibustheinfamous:
Yes
In reply to OsamaAlCorzini:
Hm, cuz it wasn't working with The One Probe (item) but it did with The One Probe (Bauble) so maybe there was some sort of conflict going on. I had to use Iguana Tweaks Reborn and that seemed to work
Why does this mod keeps crashing mc when i have abyssalcraft installed as well? in 1.12.2 with the latest forge. and how to fix it?
You have to add a new document to the Stack size folder after changing the Stacksize maximum.
Then you put IsBlock, size >= 64 --> [Number you want]
Then rename the word documents extension to .stackup
I could be wrong about this, because it's been a good minute.
Cvccxxx
if you got that pardon me, i didn't read it right.
Hey! :) Any chance you're updating this to 1.15?
Didn't this mod use to allow over 64? like, say, stackable to 1000+? Or am i thinking of another mod?
In reply to RoseaBee:
Maybe this is what you're looking for: https://www.curseforge.com/minecraft/mc-mods/stackup
In reply to deathstorm717:
Thanks, but it can't have been, because the mod I remember had the same in-game config options as this mod has. I all ready have StackUp, but it absolutely will not work for me even though I have the global stack number changed.
Your mod is great and really useful but tbch the way you setup the config is really annoying. Could you update it where instead of having 2 sections, one for the item and the second for the amount to just have it on one line where it would be like:
modnamehere:itemnamehere(insert any sort of separator here ie / . - _ |)amounthere
Because when someone is revamping an entire modpack or a ton of items having to locate and identify a mistake is extremely annoying you have to count down 87 times because the item that has a wrong value is the 87th item in the list above. Thankfully notepad tells me what line number it is so all I have to do is subtract the different and use the result to locate the line but still the above example would be 100,000 times easier.
I really like the mod and it works nice and all but when the items are in my inventory or hotbar they still only go to 64 unless I drop them all and them pick them up again. Only then do they stack to the size I changed it to. Is there a way to fix that?
In reply to CrowPhantom13:
max limit is hardcoded at 64 for inventories
Hello, minecrafters!
I had one question - is it possible with this mod to change the size of a stack of non-standard items, for example, the "money" - item from mod "VariedCommodities". If it is possible, can you throw off a code or something like that?
Thx you in advance.
In reply to sooflendos:
Yes, you can change the stack size of any item, including items added by mods. Just use its item ID. You can see the item ID of any item by pressing F3 + H in-game and hovering over the item in your inventory.
Just a quick FYI, your terms of use violate the license that you've chosen. You may want to consider relicensing the project under a license that allows you to have more control over what happens with your work.
Honestly, I'd recommend having a look through Creative Commons and seeing if there's anything relevant. CC-BY-ND-NC might achieve what you're looking for.
As a general rule, open source licenses (especially copyleft ones) are there to explicitly allow people to modify and redistribute the source code of the mod. The GPL especially allows for commercial resale/reuse of the code.
If this isn't something that you want, you should definitely check out the other options that are available.
Will this be available for 1.13?
Hello, your mod is very good for those who are creating a ModPack, however I can not define different values for different items, for example:
- Stone stacksize: 10
- Wood stacksize: 8
- Iron stacksize: 12...
It looks like you have defined only one linetype and it is not possible to set other sizes for other items, how does this work?
In reply to XColloseusX: