Mods / Crateful

Tags:
Storage QoL Tweak
Author:
crittan
Side:
Both
Created:
May 28th 2023 at 9:32 PM
Last modified:
May 31st at 11:23 AM
Downloads:
20606
Latest release (for Vintage Story 1.22.3, potentially outdated):
crateful_2.1.0.zip  1-click install

  • Crateful changes crate insertion: you can insert items even if they're not in your hand (active hotbar slot).
  • Using the crateful bulk key toggle (default key: B) you can insert all your stacks at the same time with a single insertion.
  • When inserting stacks into crates, all matching item stacks in your inventory will be sequentially inserted, starting with the stack in your active hotbar slot. 

 

No more awkward fiddling - having to move stacks between the inventory and hotbar, right clicking crate, scrolling across the hotbar, right clicking crate, etc, just to put some stacks into storage - is no longer a thing!

Compatibility with CarryOn: Now fixed and works as intended! For users with CarryOn installed, holding right click to repeat insert is interrupted due to the CarryOn control scheme - so repeated clicks are necessary. Not sure when/why this was changed, because it used to work fine. To workaround this, either change the CarryOn Pickup/Putdown hotkey from the default shift key (I use V), or alternatively use the CarryOn Enable/Disable interaction toggle hotkey Alt+K (by default) to disable CarryOn until needed. 

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
2.1.0 crateful 2971 May 31st at 11:22 AM crateful_2.1.0.zip 1-click install

Added patch to interrupt CarryOn interaction interrupting repeated interaction

Fixed holding stack insert (ctrl+shift+rightclick) now repeats as intended

2.0.0 crateful 265 May 28th at 5:24 PM crateful_2.0.0.zip 1-click install

Rewrote because lost old code lol.

Removed bulk extraction (unless someone dearly wants it back).

Fixed bugginess with nearly-full crate slot insertions.

Changed default hotkey to B (so many modded hotkeys now, hopefully this works).

1.2.8 Crateful 10303 Feb 5th 2024 at 8:42 AM Crateful_1.2.8.zip 1-click install

Updated for 1.19

1.2.7 Crateful 2313 Oct 19th 2023 at 11:06 AM Crateful_1.2.7.zip 1-click install

Fixed new crateful bulk mode active even if not holding the bulk modifier (default key: Ctrl)

1.2.6 Crateful 463 Oct 16th 2023 at 4:37 PM Crateful_1.2.6.zip 1-click install

Added bulk action hotkey toggle (shared with pileful) that allows super bulk transfer of multiple itemstacks at a time.

Added inventory priority over hotbar for taking items.

1.0.3 crateful 4291 May 28th 2023 at 9:45 PM crateful_v1.0.3.zip 1-click install

Initial release

Disclaimer

By downloading a mod you consent to our Terms of Use.

We tell you this specifically because we want to make sure you are aware that we cannot validate every mod, and you are responsible for any damages you might incur by installing or loading mods.

This prompt will not be shown to you again (for the current browser session) if you proceed.


35 Comments (oldest first | newest first) (threaded | flat)

Windows98, 2 days ago

Tried it. Loved it. Thank you.

Nereid, Jun 7th at 3:37 PM

Hi ! Is this mod safe to add and remove in an existing world ?

SalieriC, Jun 7th at 7:55 AM

Version 2.1.0 still shows a warning that it requests VS version 1.21.

umm, May 29th at 10:43 AM

Rewrote because lost old code lol.

You should know that you can decompile C# with a program like dnSpy.

Partexedd, May 28th at 2:42 PM

Doesn't seem to be working in 1.22. Are you planning on fixing it? 

crittan , May 28th at 3:19 PM (modified May 28th at 5:45 PM)
@Partexedd: Doesn't seem to be working in 1.22. Are you planning on fixing it?

Edit: Uploaded a rewrite of the mod that should work

It's slightly buggy, in  particular not running as intended alongside CarryOn even though it used to, at the time of last update - but it is at least functional as of 1.22.2. 

Are you seeing none of the modded behavior whatsoever? 

The issues as I have found are:

  1. Due to some change in CarryOn, holding rightclick will insert the active hotbar slot if any, and a singular additional stack, before the interaction is abruptly hijacked by CarryOn and prevented from re-running as long as the hands remain free. The current workaround is simply repeated interaction (right clicks) to insert remaining inventory stacks.
  2. Some perfectly ugly logic oversight when finding the best insertion slot that can sometimes prevents insertion when the container is nearly full. The current workaround is extracting the first found itemstack and re-inserting it. 

 

Are these the issues you are finding, or is it completely afunctional? I'll be interested to know which mod is conflicting so completely. 

I have a personal rewrite version functional, but it lacks the bulk modifier and unfortunately still suffers from being unable to hold right-click insertion to clear the entire inventory as long as Carryon is installed, so I haven't deemed it fit for release as of yet. It's on my todo list, probably in the coming few days.

djvirus, May 22nd at 12:06 PM (modified May 22nd at 12:06 PM)

Sometimes it wont let me put stuff into a half full crate until i completely empty it or take some items out of it first. Weird bug not sure how or when it happens its quite random.

CKitt, Sep 5th 2025 at 12:43 PM

Appears functional in 1.21. 👍

Khaden, Jun 29th 2025 at 8:17 AM

If you modify the modinfo.json file

"dependencies": {
"game": "1.20.12"
}  

the mod still works.

flaxstax, May 7th 2025 at 8:59 PM

@Nephelangelo I beleive there are other mods that add labels to containers you could use.

Galena, Feb 20th 2025 at 6:13 PM

crittan Hello! Are you going to update this mod for the 1.20 game version?

Nephelangelo, Jan 17th 2025 at 3:20 AM

Hey there, could you add a feature that will display the item contained in the crate on your mouse crosshair when you hover your mouse over the crate? This would make crates SO much more intuitive and enjoyable to use.

HimiTosi, Dec 31st 2024 at 9:15 PM

Will there be a 1.20 update? Thanks!

Tyranus, Feb 12th 2024 at 8:55 AM

Alright.

The steps are simple. I unload the crate with the bulk mode, let's say a crate of dirt, then insert what i unloaded inside.

In a single shortcut the crate will be emptied of everything (i guess inventory space dependent) then will be entirely filled with the dirt i retrieved earlier and the lantern will be pulled inside as well.

I play in a upnp shared world with someone, we both can reproduce this.

mods instaled: ABCS reborn , ancients tools, auto map markers, auto panning, beehivekiln, better crates, better firepit, better ruins, bullseye, butchering, carry on, tradercamps, commonlib, configure everything, coolinbarrel, crateful, danatweaks, doffanddonagain, ferverstone horses, hudclock; millwright, petAI, pileful, simplefootsteps, sortable storage, spyglass, stonebake oven, stonequarry, storage options, stillusefullstuff, xlib, xskills.

Ah i don't know if it's relevant or not, but the crates we are using are aged crates we found in ruins right now.

I'm uncertain if it happens with the basic ones we can craft for example.

Hope this helps.

crittan , Feb 11th 2024 at 10:23 AM

Tyranus

Wooah, that sounds super spooky. Do you have the exact steps to reproduce? And I do need to see your mod list, thank you

Tyranus, Feb 10th 2024 at 9:27 PM

Hello when i use the bulk mode to stack items in crates, not only does it empty or completely fill the crates but i'm also getting my lanterns sucked inside. I don't know where the problem might come.

i have pilefull and cratefull installed as well as many other mods. If you need my full mod list i will post it.

crittan , Feb 5th 2024 at 9:33 AM

DarkThoughts

Uploaded a new version - should be fixed. Thank you!

DarkThoughts, Jan 21st 2024 at 8:56 PM

Crash in 1.19.1 when I tried to put pine logs into an open aged crate.

Running on 64 bit Linux (Freedesktop SDK 22.08 (Flatpak runtime)) [Kernel 6.7.0.204] with 32010 MB RAM
Game Version: v1.19.1 (Stable)
1/21/2024 9:53:02 PM: Critical error occurred in the following mod: Crateful@1.2.7
Loaded Mods: chiseltools@1.10.1, caninae@1.0.8, pantherinae@1.0.9, meteoricexpansion@1.2.4, nailsmold@1.0.1, noisybears@1.1.0, palisademod@1.1.0, TA_plainsandvalleys@1.0.5, primitivesurvival@3.4.5, quickstepfork@1.0.1, she1fish@1.1.0, sleekdoorcraft@1.0.0, spyglass@0.5.0, ssppvv@1.0.5, game@1.19.1, wlts@1.0.0, ancienttools@1.5.12, animalcages@3.0.1, egocaribautomapmarkers@3.1.0, betterfirepit@1.1.3, helblockpick@2.2.0, branchcutter@1.0.1, carryon@1.7.2, commonlib@2.3.2, coolinbarrel@0.5.3, Crateful@1.2.7, fancyplanters@1.2.0, farmlanddropssoil@1.4.0, fishing@1.1.5, fromgoldencombs@1.4.25, herbarium@1.0.4, immersivewoodchopping@0.6.1, sailboat@1.2.6, medievalexpansion@3.13.1, morepiles@1.5.0, outlawmod@1.2.0, petai@2.2.1, rivers@1.2.0, simplestep@1.1.0, spawnhighlight@1.1.0, stickemup@1.1.0, stonebakeoven@1.1.2, th3dungeon@0.2.1-rc.1, vanvar@3.3.0, creative@1.19.1, vsimgui@0.3.3, vsinstruments@1.2.4, survival@1.19.1, configlib@0.3.3, feverstonehorses@1.6.0, sleekdoorglass@1.0.0, playercorpse@1.9.0, simplewinddirection@1.0.2, stonequarry@3.2.1, wildcraftfruit@1.1.0, wildcrafttree@1.0.0, statushudcont@2.1.1
System.MissingMethodException: Method not found: 'Vintagestory.API.Common.ItemSlot Vintagestory.API.Common.IPlayerInventoryManager.GetBestSuitedSlot(Vintagestory.API.Common.ItemSlot, Boolean, System.Collections.Generic.List`1<Vintagestory.API.Common.ItemSlot>)'.
at Crateful.BlockEntityCratePatches.OnBlockInteractStartCratefulPrefix(IPlayer byPlayer, BlockSelection blockSel, BlockEntityCrate __instance, Boolean& __result)
at Vintagestory.GameContent.BlockEntityCrate.OnBlockInteractStart_Patch2(BlockEntityCrate this, IPlayer byPlayer, BlockSelection blockSel)
at Vintagestory.GameContent.BlockCrate.OnBlockInteractStart(IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel) in VSSurvivalMod\Block\BlockCrate.cs:line 364
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseBlock(Block selectedBlock, BlockSelection blockSelection) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 885
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 444
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 89
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 802
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 1006
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 675
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 650
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 78
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 318
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

Cozy_Ape, Dec 10th 2023 at 7:54 AM

Fantastic! Should be adopted by the devs and made vanilla behaviour! Unfortunately, Xandus Inventory Tweaks conflicts as it also uses the Z key (for sorting). Easily solvable though, as you've added a configurable keybind, which I've changed to C. Maybe make this the default keybind, as Crate begins with C? <wink>

Willownezz, Oct 19th 2023 at 10:03 PM

thank you for that, I was looking for this mod =D

RogueRaiden, Sep 28th 2023 at 12:12 PM

it must be that a client side version is not possible lol
wonderful mod, very useful utility. thank you for it and pileful, very wonderful :)

DanaCraluminum, Jun 7th 2023 at 11:10 AM

Could you make client side version where it fills it as fast as possible but not needed on server side?

crittan , Jun 7th 2023 at 10:33 AM

Block interaction tooltips are unchanged, since the controls are the same as vanilla stack insertion.

DanaCraluminum, Jun 7th 2023 at 8:58 AM

Are there any block interaction tooltips? 

crittan , Jun 7th 2023 at 8:49 AM

SpeedRider

Have you held Ctrl + Shift while rightclicking?

DanaCraluminum, Jun 7th 2023 at 5:21 AM

I'm grateful for this mod

SpeedRider, Jun 7th 2023 at 5:02 AM

it seems a little bit odd ?
it would be nice if it would suck the items from your inventory without the item in hand.
iv found I needed to start it off with some items in my had at the start.
maybe I'm doing something wrong ty for the mod.

 

DanaCraluminum, Jun 6th 2023 at 4:08 AM

Criminally underrated extremely MANDATORY mod

Guimoute, Jun 6th 2023 at 1:58 AM

Awesome mod, almost mandatory!

Shion, May 29th 2023 at 6:11 PM

Sorry. Had no crashes like this before and was too quick to assume that this mod is the reason for that.

crittan , May 29th 2023 at 10:35 AM

Shion

I honestly don't know why you'd come here and accuse my mod of being a hack causing crashes, with no knowledge about its implementation. Did you try disabling my mod, and then right clicking the stretching frame with the oil lamp? Apparently not, because if you had, you would've discovered that it still crashes in the exact same way. I know because I literally just installed the oil lamp mod and ancient tools mod and tried it.

It has nothing to do with crateful.

DanaCraluminum, May 29th 2023 at 8:55 AM

Mod idea: Make torches immediately extinguish in containers, and normally when in hand

DanaCraluminum, May 29th 2023 at 8:36 AM

Mod idea: auto fill of pit kiln

Shion, May 29th 2023 at 1:16 AM

While the idea is great, the execution works more like a hack and opens new ways to trigger crashes in other mods.
One such case is when right-clicking with the oil lamp on the tanning rack of Ancient Tools. The Hanging Oil Lamps mod is also present.

I wonder if this can be fixed on your side...

Ancient Tools mod maker confirmed an issue on his side.

RogueRaiden, May 28th 2023 at 10:34 PM

is it possible for this to be client side only or does it have to be both?
love the concept :)