Mods / Sortable Storage

Category: #Storage #Tweak
Author: SpearAndFang
Side: Both
Created: Apr 4th 2022 at 3:31 AM
Last modified: Nov 8th at 2:59 AM
Downloads: 45340
Follow Unfollow 489

Latest file for v1.20.0-pre:
sortablestorage_2.2.8.zip 1-click install


The latest version is for game version v1.20 ONLY
The latest version is for game version v1.20 ONLY
The latest version is for game version v1.20 ONLY
The latest version is for game version v1.20 ONLY
The latest version is for game version v1.20 ONLY
The latest version is for game version v1.20 ONLY
The latest version is for game version v1.20 ONLY
The latest version is for game version v1.20 ONLY
The latest version is for game version v1.20 ONLY
The latest version is for game version v1.20 ONLY


Put vanilla chests, labeled chests, trunks, baskets, and storage vessels back into the crafting grid to convert them into a sortable version of themselves. 
The sortable version has a sort button (upper right) which will sort that inventory by display name, and merge similar stacks.  See the screen shot above for clarification. Includes Carry On and Deep Storage Device and Carry Capacity and Updated Textures/Models support!

Heads up: You can only convert one regular chest into its sortable variant at a time, because two or more chests in one crafting grid stack references the vanilla trunk recipe.  Also, you can remove the sort functionality by simply putting that storage container back in the crafting grid.

Note:  This mod was only ever intended for "casual clickers" like myself.  If you're looking for a feature rich inventory management/sorting system, please check out Xandu's incredible Inventory Tweaks mod.

Italian translation courtesy of Yota!
Japanese translation courtesy of Macoto Hino!
Ukrainian translation courtesy of CakesTwix!

Mod Configuration 

OPTIONAL: Now configurable in-game with a GUI! This new feature requires Config Lib and ImGui as dependencies. In-game: simply press [ESC] and click the new Mods Settings button to configure (or press [P]).

If you want to customize this mod the old fashioned way, see %appdata%/VintagestoryData/ModConfig/sortablestorage.json.

    "useVanillaTextures": default is false - set this to true for better texturepack compatibility
    "sortByDisplayName": default is false - set this to true to sort by display name instead of block/item code


Thanks to Maltiez for the mod configuration gui!

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v2.2.8 333 Nov 8th at 2:59 AM Show sortablestorage_2.2.8.zip Install now
v2.2.7 1336 Sep 21st at 3:59 AM Show sortablestorage_2.2.7.zip Install now
v2.2.6 7556 Jun 9th at 3:34 PM Show sortablestorage_2.2.6.zip Install now
v2.2.5 1847 May 12th at 4:50 PM Show sortablestorage_2.2.5.zip Install now
v2.2.4 2305 Apr 17th at 6:43 AM Show sortablestorage_2.2.4.zip Install now
v2.2.3 2598 Mar 9th at 7:22 AM Show sortablestorage_2.2.3.zip Install now
v2.2.2 1336 Feb 25th at 8:06 AM Show sortablestorage_2.2.2.zip Install now
v2.2.1 4680 Nov 10th 2023 at 4:07 PM Show sortablestorage_2.2.1.zip Install now
v2.2.0 593 Oct 30th 2023 at 4:10 AM Show sortablestorage_2.2.0.zip Install now
v2.1.0 5265 Sep 8th 2023 at 2:12 PM Show SortableStorage210.zip Install now
v2.0.0 272 Sep 7th 2023 at 1:54 PM Show SortableStorage200.zip Install now
v1.9.0 2882 Jul 9th 2023 at 4:35 PM Show SortableStorage190.zip Install now
v1.8.0 2764 Mar 18th 2023 at 10:00 PM Show SortableStorage180.zip Install now
v1.7.0 620 Feb 25th 2023 at 6:44 PM Show SortableStorage170.zip Install now
v1.6.0 3294 Oct 23rd 2022 at 2:57 PM Show SortableStorage160.zip Install now
v1.5.0 1598 Aug 13th 2022 at 5:55 PM Show SortableStorage150.zip Install now
v1.4.0 581 Jul 19th 2022 at 3:53 AM Show SortableStorage140.zip Install now
v1.3.0 331 Jul 15th 2022 at 2:01 AM Show SortableStorage130.zip Install now
v1.2.0 333 Jul 5th 2022 at 11:47 PM Show SortableStorage120.zip Install now
v1.1.0 316 Jul 2nd 2022 at 5:16 AM Show SortableStorage110.zip Install now
v1.0.3 1915 Jun 12th 2022 at 9:11 PM Show SortableStorage103.zip Install now
v1.0.2 1213 Apr 25th 2022 at 2:01 AM Show SortableStorage102.zip Install now
v1.0.1 943 Apr 10th 2022 at 12:29 AM Show SortableStorage1.0.1.zip Install now
v1.0.0 429 Apr 4th 2022 at 3:45 AM Show SortableStorage1.0.0.zip Install now

71 Comments (oldest first | newest first)

💬 SpearAndFangAuthor, Oct 28th at 2:00 PM

Shinji170981
I can't do that. This is probably the mod you want in that case.
https://mods.vintagestory.at/show/mod/367

💬 Shinji170981, Oct 28th at 1:07 PM

Would it be possible to add Vanilla Variations to the compability as well? :)
I am still on 1.19.8 though, so it will probably only happen for 1.20. Still, would be very happy.

💬 SpearAndFangAuthor, Oct 22nd at 11:46 PM

For anyone arriving here and reading the recent conversation...I think we've established (over on the VS Discord) that this mod was not responsible for the issue described below.

💬 RachelTGG, Oct 22nd at 9:46 PM

@SpearAndFang

I dont renember but i think so. After i disabled this mod i could use the reed thingy without problems.

 

💬 SpearAndFangAuthor, Oct 22nd at 2:50 AM

RachelTGG

This was a "Reed basket (Sortable)", correct?

If so, there's a chance that this mod was the cause of the crash, although I'm unable to recreate the crash.

If it was a vanilla Reed Chest, then this mod surely wasn't the cause of the crash - the two are intentionally very isolated from one another.

💬 RachelTGG, Oct 22nd at 1:57 AM

I think its this mod that caused a crash when i shifted and pressed H and then released and was looking at the reed "chest". Lost everything in the area too.. goddamn it


https://pastebin.com/azTtsDEm

 

 

 

💬 SpearAndFangAuthor, Aug 25th at 6:51 AM

irRegularGuy646
I'm sure I could, but I have a long laundry list of things on my to-do list so I'm not planning on updating this mod any time soon.

I was going to suggest this mod instead, but I'm not sure if it can do that either.
https://mods.vintagestory.at/show/mod/367

Note: if you do remove this mod, be sure and remove all of your stuff from sortable storage before disabling this mod or it will all be lost.

💬 irRegularGuy646, Aug 25th at 1:17 AM

Could you add sort by freshness timer?

💬 DUCATISLO, Jun 9th at 5:21 PM

gg

💬 SpearAndFangAuthor, May 17th at 1:38 AM

DeansOnToast
It's mostly about me keeping a bit of separation from vanilla, rather than muck with the vanilla game directly. 

💬 DeansOnToast, May 17th at 1:08 AM

Whats the reason against making the ability to sort default for all storages? Minor faff having to put every piece of storage back through crafting when I dont know why I need to do it. 

Still love the mod, just the right amount of QOL for me.

💬 SpearAndFangAuthor, May 12th at 8:36 PM

ManaWei
Nope. This is probably the mod you want in that case.
https://mods.vintagestory.at/show/mod/367

 

💬 ManaWei, May 12th at 8:03 PM

Think it's an amazing mod but, it's not compatible with Dana's Vanilla Variants.. combining colour coded chests with a sorting system would be amazing <3 
Think you can make it work with not just vanilla chests ?

💬 GarethTheGoblin, May 6th at 12:14 PM

Hey spear, I'm really sorry about my last message i was testing on large chests.. which cant be picked up anyways. It was a me issue, I'm an idiot. I'm sorry! alls fine with your mod

💬 SpearAndFangAuthor, Apr 27th at 1:18 AM

GarethTheGoblin
Sorry I don't know what to tell you.  I just tested again with the latest game version, mod version, and CarryOn version and it was all working perfectly.  I've always have CarryOn in my loadout and use it extensively.Love that mod.

You sure that you don't have something in your offhand?

Failing that:
1. Go to the Mod Manager and click on Open Mods Folder
2. Make sure that no other versions of this mod in your mod folder.  If there are, delete them. Same with CarryOn
3. Go up one folder level and into cache.  Delete everything inside that folder
4. Start the game, go into the mod manager, and click "reload mods"

Might fix you up.

💬 GarethTheGoblin, Apr 26th at 5:49 PM

Hey, sorry for the message. I was wondering if there's anything i need to do to make this work with carry on? none of my sortable storage can be picked up using carry on. This is on a server

Other non sortable storages can be picked up

💬 KhaosSN, Apr 19th at 1:26 PM

SpearAndFang thanks for checking into it. Its just strange because it was working, then I went and updated my mods (the only ones that had updates where ConfigLib, Dana Tweaks, and Sortable Storage) and when I reloaded into the world the unknown texture problem happened. I wonder if something just didn't load correctly. Thankfully I make videos on VS and was able to find clips of opening chests and grabbed screenshots of them all.

💬 SpearAndFangAuthor, Apr 19th at 3:37 AM

KhaosSN
I'd like to help, but at this point restoring a backup world is the only way to recover those inventories. The moment the world is loaded without the mod enabled for whatever reason (or multiple versions of this mod in the mods folder) the inventories are replaced with unknown blocks and inventories are lost.

I tried to recreate what you describe happened and could not.  Upgrading from 2.2.3 to 2.2.4 seems fine.

💬 KhaosSN, Apr 19th at 12:56 AM

Updated to 2.2.4 and all my sortable chests turned into unknown texture blocks. Reloaded the game, the textures came back but now all the chests cannot be opened. Breaking them just drops the chest and nothing that was inside. Tried reverting back to 2.2.3 and the chests are still unable to be opened now. Please tell me there is some way to fix this? All my stuff for my world was in Sortable Chests. I've already lost the stuff in the forging room due to the upgrade, really don't want to lose anything else.

💬 SpearAndFangAuthor, Mar 23rd at 3:11 PM

NEWqwew
This mod does not add a sort button to the barrel UI.  My best guess is that you are talking about another mod - probably this one:
https://mods.vintagestory.at/show/mod/367

💬 NEWqwew, Mar 23rd at 10:03 AM

Hello I would like to report a bug that when you click on the sort button in the barrel UI, the liquid inside the barrel is turned into the form of a cube

💬 SpearAndFangAuthor, Mar 2nd at 3:49 AM

StarLynx
Thanks, I'll see what I can do!

💬 StarLynx, Mar 1st at 5:10 PM

Reporting an issue with Extra Chests compatibility, upon upgrades chests do not retain their contents and labeled loose text, all get erased, and the issue increases further with bronze variants, tin bronze one works fine but other types break the texture, and rotate west in any placement position and can't be upgraded in the world, only in crafting grid. And as tested with ExtraChest mod alone, all works fine and everything stays during upgrades. 

💬 MishkaSnep, Mar 1st at 1:43 PM

ShamblerDK Probably auto atlas but the texture issue is fixed in 19.4

💬 SpearAndFangAuthor, Feb 25th at 8:07 AM

ShamblerDK
Done - use the latest release

💬 ShamblerDK, Feb 20th at 12:31 PM

SpearAndFang Could you make this mod compatible with this one?: https://mods.vintagestory.at/show/mod/4498

💬 ShamblerDK, Feb 20th at 12:27 PM

AngryOscar So, are you going to tell the rest of us, which mod that is???

💬 AngryOscar, Feb 17th at 3:48 AM

Disregard. Once I installed the mod that allows for more textures, and deleted vanilla variants, it started working. Not sure which one fixed it as I did both at the same time

💬 SpearAndFangAuthor, Feb 12th at 6:06 AM

AngryOscar
I tested and am not sure what you are referring to. The sortable storage vessel has slightly different textures than the normal one, but nothing dramatic or wood like  If you are running game version 1.18.x maybe your texture atlas is overflowing. There is a mod to help with that.
https://mods.vintagestory.at/autoatlas

💬 AngryOscar, Feb 11th at 4:23 AM

Texture glitch when open sortable storage vessel. Looks like wood on the top

💬 SpearAndFangAuthor, Feb 8th at 12:30 AM

NukoSan
Well that looks next to impossible unless:

1. You are still using a 1.18.x game release.  In which case you probably have a texture atlas overflow and need this
https://mods.vintagestory.at/autoatlas

2. Some other mod is seriously mangling some of the vanilla textures...doubtful but anything is possible.

3.  Your game installation is badly broken and needs to be reinstalled.

4.  Your mod version is not the right one for your game version. 

Also, if you are using a 1.19.x release then install the latest one - there were a LOT of bug fixes in all but the latest release.  If you are using a 1.18.x release, use 1.18.15 only.  For the same reason.

💬 NukoSan, Feb 7th at 7:43 PM

Got some pink texture issues with the storage crates... https://ibb.co/N2mjrsf

💬 SpearAndFangAuthor, Jan 22nd at 12:31 AM

Shinji170981
Well that doesn't sound good.  I guess I would - revert back to 1.18.15 again (if necessary) and restore from a backup again.  Make sure v.2.1.0 of this mod is in the mods folder.

Then:
1. Make sure that no other versions of this mod are in your mod folder.  If there are, delete them.
2. Go up one folder level and into cache.  Delete everything inside that folder
3. Start the game, go into the mod manager, and click "reload mods"

At this point afaic, that storage should be functional again.
If so, you have two options (Not sure if #2 will work. #1 would work for sure.):

1. Break sortable storage, put it back in the crafting grid to revert it to vanilla, place it and put inventory back in it. wash rinse repeat
or
2.  Attempt the 1.19 upgrade again, much like above

- download the latest mod version, update the game version.
- go into the mods folder and make sure everything is neat and tidy
- delete the cache folder contents
- go into mod manager and "reload mods"


 

💬 Shinji170981, Jan 21st at 5:48 PM

Hello SpearAndFang, I do have a small problem with the mod.
Yesterday, i made a backup of my 1.18.15 world, which was running the version 2.1.0 and everything was working fine, so i updated to 1.19.1, updated the mod to 2.2.1 and now i am unable to open the chests anymore.

I tried downgrading the game back to 1.18.15 and downgraded the mod as well back to 2.1.0.

Even after this and restoring the backup and deactivating all other mods, except this one, i am unable to open my chests anymore....

Any idea what i could do, to fix this issue?

Thanks a lot in advance.

💬 SpearAndFangAuthor, Jan 7th at 9:29 PM

Willrun4fun
Yes. Break em, put em back in the crafting grid.  If you don't do this you will lose your storage and contents!

💬 Willrun4fun, Jan 7th at 9:23 PM

If I were wanting to remove this mod would I just need to convert any chests back to standard first?

💬 Ery, Oct 31st 2023 at 10:21 PM

ah, sorry about that. I have an auto-update mod to keep all of my mods up to date. Thank you for the notice!

💬 SpearAndFangAuthor, Oct 31st 2023 at 8:56 PM

@Ery,
Appreciate the report but like I told TheOnion, the latest release sortablestorage@2.2.0 is only for the 1.19.x prereleases of Vintage Story.
You are running Game Version: v1.18.15 (Stable)

💬 Ery, Oct 31st 2023 at 6:41 PM

SpearAndFang

I had the same crash just now in creative. Below is the report.

 

Running on 64 bit Windows with 32618 MB RAM
Game Version: v1.18.15 (Stable)
10/31/2023 1:30:40 PM: Critical error occurred in the following mod: sortablestorage@2.2.0
Loaded Mods: aculinaryartillery@1.0.15, betterruins@0.2.4, carpet@1.0.1, chiseltools@1.9.2, hqzlights@1.1.1, driedpeat@1.0.3, dye_recipes_fix@1.0.0, extrachests@1.7.0, fancysky@1.0.6, TA_fieldsandplateaus@1.0.2, lumbersling@1.1.0, millwright@1.1.1, mbpc@1.0.1, morecrystals@1.1.0, leadroof@1.3.4, natshumanskin@1.0.0, resinglue@0.0.3, roas@1.0.0, rooffix@0.0.1, smokychimneys@1.0.0, sortablestorage@2.2.0, ssppvv@1.0.5, litbrig@0.5.0, game@1.18.15, animalcages@2.2.0, betterfirepit@1.1.2, betteroutline@1.2.8, betterruinslootchanges@0.0.2, carryon@1.6.0, expandedfoods@1.6.8, farmlanddropssoil@1.4.0, fieldsofsalt@1.1.2, freedomunits@1.1.2, fromgoldencombs@1.4.21, glowingprojectiles@1.1.3, hudclock@3.3.0, medievalexpansion@3.11.1, prospecttogether@1.2.4, resingluetools@0.0.5, scythemold@1.0.0, simplestep@1.0.8, stonebakeoven@1.1.1, stonerailings@1.1.0, temporalstormtimer@1.1.1, useplanksinpitkiln@1.1.1, vtpp@1.1.0, creative@1.18.15, survival@1.18.15, VsWaypointSharing@1.0.6, whatbagwasthatagain@1.0.1, woodbarrels@1.0.4, woodchests@1.1.0, workbenchexpansion@1.7.0, plumpkins@1.0.1
System.TypeLoadException: Could not load type 'Vintagestory.API.Client.MultiTextureMeshRef' from assembly 'VintagestoryAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at SortableStorage.ModSystem.BlockGenericSortableTypedContainer.OnBeforeRender(ICoreClientAPI capi, ItemStack itemstack, EnumItemRenderTarget target, ItemRenderInfo& renderinfo)
at Vintagestory.Client.NoObf.InventoryItemRenderer.GetItemStackRenderInfo(ClientMain game, ItemSlot inSlot, EnumItemRenderTarget target, Single dt) in VintagestoryLib\Client\Render\InventoryItemRenderer.cs:line 318
at Vintagestory.Client.NoObf.InventoryItemRenderer.RenderItemstackToGui(ItemSlot inSlot, Double posX, Double posY, Double posZ, Single size, Int32 color, Single dt, Boolean shading, Boolean origRotate, Boolean showStackSize) in VintagestoryLib\Client\Render\InventoryItemRenderer.cs:line 196
at Vintagestory.API.Client.GuiElementItemSlotGridBase.RenderInteractiveElements(Single deltaTime) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 509
at Vintagestory.API.Client.GuiComposer.Render(Single deltaTime) in VintagestoryApi\Client\UI\GuiComposer.cs:line 695
at Vintagestory.API.Client.GuiDialog.OnRenderGUI(Single deltaTime) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 379
at Vintagestory.Client.NoObf.GuiManager.OnRenderFrameGUI(Single deltaTime) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 318
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 185
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 790
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 983
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 668
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 643
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 77
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 313
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 129
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

💬 SpearAndFangAuthor, Oct 31st 2023 at 2:33 PM

@TheOnion
The new version is for the 1.19 prereleases only. What game version are you running?

fwiw, I just tried to recreate that crash in 1.19.0 pre4 and couldn't.

💬 TheOnion, Oct 31st 2023 at 1:56 PM

Then newest version crashes the game in creative mode if you wanna type something in the search bar

💬 SpearAndFangAuthor, May 19th 2023 at 2:14 PM

Katlamos Appreciated! I've got a very long to-do list and mod integration isn't a priority for me, but I will put your request on my list.

💬 DanaCraluminum, May 14th 2023 at 9:21 PM
💬 Katlamos, May 14th 2023 at 8:37 PM

I love all your mods Spear! Would you be able to add support for the Wood Chests mod linked here?

💬 DanaCraluminum, Mar 15th 2023 at 8:06 AM

Sorry, I was impatient

💬 SpearAndFangAuthor, Mar 15th 2023 at 4:47 AM

Craluminum Please stop spamming the modDB with nonsensical comments.  A mod is only obsolete when the mod author decides it is.  Your opinion is irrelevant.

💬 DanaCraluminum, Mar 14th 2023 at 4:02 PM

Finally obsolete? Xandus Inventory Tweaks now adds gui SORT BUTTON to every existing inventory

💬 SpearAndFangAuthor, Feb 25th 2023 at 6:47 PM

new release for 1.18.  For the brave and the bold. 
As always, since this mod mucks with storage containers I highly recommend you make a backup first.

💬 Mendall, Nov 1st 2022 at 5:02 PM

SpearAndFang thanks for the info,  with that in mind I think ill remake all of my copper chests so I can use this.

not to worried about a backup though I colllected all this crap once I can do it again if it disapears.

💬 SpearAndFangAuthor, Oct 25th 2022 at 4:48 AM

@Mendall - Agreed.  This mod will work properly with extra chests if you start using both at the same time, or add extra chests afterwards.  If you add this mod after you already have some extra chests placed in the world, you'll have to break those seemingly broken chests (which will dump their contents) and then place them again.

Regardless, make a backup before you add/remove any storage type mods.  Or any mods really  ;)

💬 Mendall, Oct 24th 2022 at 6:24 PM

be careful with this one if you run a lot of mods. I installed this and all my copper chests from the more chests mod changed to comman chests and could not be opened at all. luckily removeing it put everything right.

full disclosure I use an unusualy large amount of mods so its no telling what it was conflicting with.

💬 SpearAndFangAuthor, Oct 9th 2022 at 7:01 AM

@MIghtyGooga I cannot do that, so sorry!

💬 MIghtyGooga, Oct 8th 2022 at 9:23 PM

Any chance wyou can add compatibility with WoodenChests mod? The one that allows you to build all wood types chests?

💬 SpearAndFangAuthor, Jul 15th 2022 at 2:03 AM

Released v1.3.0 which is a required update for people using Vintage Story 1.17.pre.4.
EDIT: Use v1.4.0 for v1.17.0-pre.5

💬 SpearAndFangAuthor, Jul 6th 2022 at 6:58 AM

Devestatio I did add support for Carry Capacity and Extra Chests back in v1.0.3 and tested both aok under 1.16.5.  But I've heard that 1.16 can be a little unreliable when it comes to applying such patches.  Nobody has reported that it doesn't work so I can only assume that it does.  shrug.  And yes, there is no support for other modded chests, just vanilla and Extra Chests.

💬 Devestatio, Jul 6th 2022 at 6:30 AM

@SpearAndFang I understand that 1.0.3 is for 1.16, but the mod support for Carry Capacity and Extra chests was an update you only added on the 1.17 version, at least that's what you said before, and based on the file date, as well as the fact that the sort button doesn't show up on extra chests (on the v1.0.3 for 1.16 file), also confirms the lack of support on the modded chests, unless there is some kind of config option I am not aware of?

💬 SpearAndFangAuthor, Jul 5th 2022 at 8:41 PM

Devestatio but...but...that's what the previous version is there for (v1.0.3).  Other than that, the two versions are identical.  I'm confused.

💬 Devestatio, Jul 5th 2022 at 6:07 PM

Any chance we could get the mod support on 1.16 as well please? I know that many, like myself only play the release versions, not the pre versions, and 1.17 is still going to be a while before release.

💬 SpearAndFangAuthor, Jul 4th 2022 at 2:00 AM

Devestatio Correct

💬 Devestatio, Jul 3rd 2022 at 2:59 PM

"Now with Carry Capacity (link) and Extra Chests (link) support...and a brand spankin' new sort button!"

I am guessing since I didn't see the 1.16 file updated, this update only applies to 1.17?

💬 SpearAndFangAuthor, Jul 2nd 2022 at 5:18 AM

Updated for 1.17.x

💬 SpearAndFangAuthor, Jun 15th 2022 at 6:05 PM

This mod only works with vanilla (unmodded) storage, extra chests, and carry capacity.  No other mods, sorry.

💬 BlueFuryDragon, Jun 15th 2022 at 4:15 AM

Does this not work with Vanilla Varients?

💬 SpearAndFangAuthor, Jun 12th 2022 at 9:11 PM

New version up - thanks again gaborszollosy, Lohn

💬 Lohn, Jun 8th 2022 at 7:40 PM

SpearAndFang - Ahh, that makes sense as to why their code directs to a folder on their desktop, then. It's probably from when they tested the code and a leftover path. I tried the other mod by Xandu and it doesn't crash - probably because it sorts via IDs, and something about your sorting method might be different somehow? I wouldn't know, but I figured I'd mention that if it helps fix your mod. :) It's great to have the UI and light-weight sorting this mod gives.

💬 SpearAndFangAuthor, Jun 8th 2022 at 4:19 PM

@Lohn - Thanks, I'll see if I can recreate that.  FWIW, that user location is not mine, no.  "Nexrem" contributed some code to the vanilla game a while back and now his name appears in a lot of crash logs for some reason.

💬 Lohn, Jun 8th 2022 at 8:11 AM

So, I just encountered a crash when clicking sort on my chest. I'll post the crash error, but I notice it's refering to a user location that might be yours, rather than anything on my PC which might be part of the reason; not entirely sure. It seems it couldn't sort an item, maybe from being modded or some other issue - but it sorts stuff like ores fine up until now. I'll attach a picture of the inventory I'm sorting, too.

Crash log:

Game Version: v1.16.5 (Stable)
Loaded Mods: armordurability2@1.0.0, ancienttools@1.4.3, backpackpackplus@1.0.3, betterarchery@3.0.0, bettercrates@1.4.1, betterpoultice@1.0.0, buzzwords@1.0.0, cavecontent@1.0.1, composter@1.0.4, cottagewindows@1.0.8, craftables@1.1.1, cralutweaks@1.0.1, detonate@1.0.0, extrachests@1.5.2, fulldrop@1.0.0, reducedarmornegatives@1.0.2, mineralinguistics@1.0.0, moredrifterloot@1.5.4, moredrygrass@0.2.0, necessaries@1.1.2, nomolding@2.0.0, nooffhandhunger@1.0.0, orepulverizer@1.1.1, preservationmod@1.0.0, quickerbarrel@1.1.0, simpleelevator@1.3.0, sortablestorage@1.0.2, stackables@2.0.5, locustmod@2.3.5, usefulscrap@2.0.2, viesblocks@2.0.4, viescraftmachines@1.17.1, visibleore@1.0.1, game@1.16.5, captureanimals@2.1.1, carrycapacity@0.6.5, easylightlevels@1.0.2, extraoverlays@1.1.0, fancyplanters@1.0.5, farmlanddropssoil@1.4.0, hudclock@2.7.0, tpnet@1.5.1, creative@1.16.5, survival@1.16.5, xlib@0.6.9-rc.1, xskills@0.6.9-rc.1
2022-06-08 3:58:41 AM: Critical error occurred
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at SortableStorage.ModSystem.GuiDialogSortableBlockEntityInventory.CollapseStacks(SortedDictionary`2 dictionary)
at SortableStorage.ModSystem.GuiDialogSortableBlockEntityInventory.OnSortClick(Int32 num)
at SortableStorage.ModSystem.GuiElementIconItemGrid.OnMouseDownOnElement(ICoreClientAPI api, MouseEvent args)
at Vintagestory.API.Client.GuiElement.OnMouseDown(ICoreClientAPI api, MouseEvent mouse)
at Vintagestory.API.Client.GuiComposer.OnMouseDown(MouseEvent mouseArgs)
at Vintagestory.API.Client.GuiDialog.OnMouseDown(MouseEvent args)
at Vintagestory.Client.NoObf.GuiManager.OnMouseDown(MouseEvent args)
at Vintagestory.Client.NoObf.ClientMain.OnMouseDown(MouseEvent args)
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonDown(Object sender, MouseButtonEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 792
at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg)
at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 1551
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 369
at _7zNxEbLnuy6Bq08TdMSIu9ZbrKf._vvUTh6X5xLRNnjtX2xSE7z8yMeh(_SUsdg1ytavxaRcNNkhfDrODGhGP , String[] )
at _yA4PJazdKq1OMm8H6js6v5AhQB._vvUTh6X5xLRNnjtX2xSE7z8yMeh(ThreadStart )
-------------------------------

Picture of current items I'm sorting: imgur.com/a/HKq1iya

Let me know if anything else could help figure it out. :) I love this mod. I do have the chests stacked on top of each other currently, and sorted the bottom chest - but I don't think that would make a difference. (They're trunks)

💬 SpearAndFangAuthor, Jun 7th 2022 at 2:16 PM

@gaborszollosy - there appears to be a rather odd thing going on with charcoal specifically.  But it appears that if you target the top of the chest rather than the front you can write on it,  That doesn't seem to be an issue at all for other things like chalk.  Weird.  I'll investigate.  Thanks!

💬 gaborszollosy, Jun 6th 2022 at 6:10 AM

Great mod! Thanks for this. One question though: how do I write the label on the container once it's placed? The charcoal just stacks in front of it for me. Thanks!

💬 SpearAndFangAuthor, Apr 25th 2022 at 2:03 AM

I've done it.  It's the latest version.  And thanks!

GruntyThrst

💬 GruntyThrst, Apr 22nd 2022 at 5:54 AM

Wonderful and simple QoL mod! Would it be possible to support Dauron's "Extra Chests" mod as well? I want that extra storage space but I hate giving up the sorting and automatic stack compression I get with the sorting chests.

(edit comment delete)