Mods / Composter [Finished]

Tags: #Storage #Utility
Author: DanaCraluminum
Side: Both
Created: Feb 6th 2022 at 7:00 AM
Last modified: Mar 1st at 12:23 PM
Downloads: 47714
Follow Unfollow 640

Latest release (for Vintage Story 1.20.0 - 1.20.3 and 1.20.4, potentially outdated):
Composter-v1.2.1.zip  1-click install


[Discord]

I'm living in Ukraine and there is war happening right now. Most of my free time I spend on modding when I get a few hours between electricity blackouts.
If you love my work, you can support me on Patreon, I would greatly appreciate it ❤️. Donations keep me doing what I truly love - modding.


A container that decomposes food extremely fast.

This mod is feature-complete, that means that all features author wanted to add are already in the mod and further updates most likely will be bug fixes or to update codebase to support new versions.

Configuration file is located in VintagestoryData/ModConfig, it is appeared after loading any world.

The food perish speed is 500x

Compost icon from cover image

Mod Version For Game version Downloads Release date Changelog Download 1-click mod install*
1.2.1
1.20.0 - 1.20.3
11889 Mar 1st at 12:23 PM Composter-v1.2.1.zip 1-click install

Fixed: Perish rate is not applied (technical info: null api due to vanilla bug prevented config from working)

1.2.0
1.20.0 - 1.20.3
1233 Feb 24th at 9:27 PM Composter-v1.2.0.zip 1-click install

Fixed: Rare crash when placing composter due to missing config

1.1.1
1.20.0-pre.0 - 1.20.0-rc.1 1.20.0 - 1.20.3
9630 Nov 25th 2024 at 11:26 AM Composter-v1.1.1.zip 1-click install

Fixed: Crash when interacting with composter

1.1.0
1.18.9 - 1.18.13 1.19.5 - 1.19.8
14860 Sep 8th 2023 at 7:11 PM Composter-v1.1.0.zip 1-click install

Feature: Configuration file
Tweak: Added nails to composter model

1.0.5
1.18.0 - 1.18.1 1.18.2 - 1.18.5 1.18.6 - 1.18.7
2230 Jul 9th 2023 at 9:54 AM Composter-v1.0.5.zip 1-click install

Feature: "Semi-automatic" localization
Tweak: Composter crafting recipe now requires nails and strips
Tweak: Perish rate is now 5000x
Tweak: French translation
Tweak: Composter now appear in general and decorative creative inventory tabs instead a separate one
Fixed: Compatibility with Carry On
Fixed: Some food doesn't rot faster

1.0.4
1.16.2 - 1.16.3 1.17.0 - 1.17.11 1.18.0-pre.0 - 1.18.0-rc.1
5579 Apr 20th 2022 at 10:23 AM Composter-v1.0.4.zip 1-click install
  • Tweak: Added German and Spanish translations. Also added translation for "Wood Variants" creative tab for all languages
1.0.3
1.16.2 - 1.16.3
934 Feb 27th 2022 at 11:45 AM Composter-v1.0.3.zip 1-click install

Tweak: Increased value of food decomposing from 2x to 10x (in real it can be about 5-8x)

1.0.2
1.16.2 - 1.16.3
945 Feb 6th 2022 at 11:41 AM Composter-v1.0.2.zip 1-click install
  • Fixed: Oak composter was not craftable
1.0.1
1.16.2 - 1.16.3
409 Feb 6th 2022 at 8:16 AM Composter-v1.0.1.zip 1-click install
  • Fixed: Composters had the same spoil rate as chests (technical info: spoilSpeedMulByFoodCat value  increased from 1 to 2)
  • Fixed: Compatibility with CarryCapacity

50 Comments (oldest first | newest first)

💬 RowanSkie, Mar 3rd at 4:09 AM

Getting this non-crashing error:

3.3.2025 12:07:34 [Warning] Texture asset 'composter:textures/block/wood/debarked/oak.png' not found (defined in Baked variant of block composter:composter-north).
3.3.2025 12:07:34 [Warning] Texture asset 'composter:textures/block/metal/tarnished/rusty-iron.png' not found (defined in Baked variant of block composter:composter-north).

💬 LiothTheBrave, Mar 1st at 2:14 PM

Could we get an ultra-fast drying/curing block too?

💬 DUCATISLO, Mar 1st at 1:23 PM

gg

💬 DanaCraluminum , Feb 24th at 9:27 PM

RowanSkie Fixed

💬 RowanSkie, Feb 23rd at 5:41 AM

Got a crash on 1.20.4, seems to be because the config wasn't available when immediately placing it.

 

Running on 64 bit Windows 10.0.26100.0 with 65408 MB RAM
Game Version: v1.20.4 (Stable)
23/02/2025 1:40:59 pm: Critical error occurred in the following mod: composter@1.1.1
Loaded Mods: bowtornbalance@1.0.0, chiseltools@1.14.12, firestarters@1.4.3, grasstoropes@1.1.4, lettherebelight@0.0.1, nudemod@1.0.3, packeddirtpaths@1.2.1, prospecttogether@2.0.2, recyclemetalwork@1.0.3-1, sticksfromfirewood@1.0.0, game@1.20.4, vsimgui@1.1.7, airmapfix@1.0.0, animalcages@3.0.3, egocaribautomapmarkers@4.0.1, betterfirepit@1.1.5, betterruins@0.4.7, carryon@1.8.0-pre.1, commonlib@2.6.1, compatlib@1.0.1, composter@1.1.1, configlib@1.5.1, creaturekilledby@1.0.0, crudetoflintarrow@1.0.1, extrainfo@1.9.6, fieldsofsalt@1.2.3, floatingfish@1.0.1, fromgoldencombs@1.8.11-rc.6, hidenametagsmod@1.20.4, hudclockpatch@1.0.0, monsternuggetdrops@1.1.0, radialgear@1.0.0, statushudcont@3.2.6, temporaltempest@0.2.2, vresp@1.2.0, creative@1.20.4, survival@1.20.4, whatbagwasthatagain@1.0.2, autoconfiglib@2.0.6, bedsofsediment@1.0.1, playercorpse@1.11.0, roofrecycling@1.0.2
System.NullReferenceException: Object reference not set to an instance of an object.
at Composter.BlockEntityComposter.b__0_0(EnumTransitionType type, ItemStack stack, Single mul) in C:\Users\dana_\Source\Repos\Composter\Composter\src\BlockEntity\BlockEntityComposter.cs:line 11
at Vintagestory.API.Common.CollectibleObject.GetTransitionRateMul(IWorldAccessor world, ItemSlot inSlot, EnumTransitionType transType) in VintagestoryApi\Common\Collectible\Collectible.cs:line 2426
at Vintagestory.API.Common.CollectibleObject.UpdateAndGetTransitionStatesNative(IWorldAccessor world, ItemSlot inslot) in VintagestoryApi\Common\Collectible\Collectible.cs:line 2461
at Vintagestory.API.Common.ItemSlot.OnItemSlotModified(ItemStack sinkStack) in VintagestoryApi\Common\Inventory\ItemSlot.cs:line 425
at Vintagestory.API.Common.ItemSlot.TryPutInto(ItemSlot sinkSlot, ItemStackMoveOperation& op) in VintagestoryApi\Common\Inventory\ItemSlot.cs:line 203
at Vintagestory.Common.PlayerInventoryManager.TryTransferAway(ItemSlot sourceSlot, ItemStackMoveOperation& op, Boolean onlyPlayerInventory, StringBuilder shiftClickDebugText, Boolean slotNotifyEffect) in VintagestoryLib\Common\GameContent\Inventory\PlayerInventoryManager.cs:line 232
at Vintagestory.API.Common.InventoryBase.ActivateSlot(Int32 slotId, ItemSlot sourceSlot, ItemStackMoveOperation& op) in VintagestoryApi\Common\Inventory\InventoryBase.cs:line 442
at Vintagestory.API.Client.GuiElementItemSlotGridBase.SlotClick(ICoreClientAPI api, Int32 slotId, EnumMouseButton mouseButton, Boolean shiftPressed, Boolean ctrlPressed, Boolean altPressed) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 958
at Vintagestory.API.Client.GuiElementItemSlotGridBase.OnMouseDownOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 754
at Vintagestory.API.Client.GuiComposer.OnMouseDown(MouseEvent mouseArgs) in VintagestoryApi\Client\UI\GuiComposer.cs:line 477
at Vintagestory.API.Client.GuiDialog.OnMouseDown(MouseEvent args) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 559
at Vintagestory.Client.NoObf.GuiManager.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 390
at Vintagestory.Client.NoObf.ClientMain.UpdateMouseButtonState(EnumMouseButton button, Boolean down) in VintagestoryLib\Client\ClientMain.cs:line 1924
at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack, Boolean keyup) in VintagestoryLib\Client\HotkeyManager.cs:line 431
at Vintagestory.Client.NoObf.ClientMain.OnMouseDownRaw(MouseEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1862
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonDown(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 198
at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 334
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 130
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

💬 DanaCraluminum , Jan 30th at 4:56 PM

ChadStevens This is intended. Tooltip bugs are vanilla bugs

💬 ChadStevens, Jan 30th at 4:54 PM

Composters instantly turn any food item into rot, no matter what it is. The spoil rate says "1.50x". Anyone else having this issue?

💬 TomatoKat, Jan 29th at 3:18 PM

I have no idea how but I managed to make it work.

Thanks for your reply btw, this is a great mod.

💬 DanaCraluminum , Jan 26th at 10:55 AM

TomatoKat Can't reproduce, everything works for me on 1.20.3

💬 TomatoKat, Jan 26th at 8:47 AM

Doesn't work in 1.20.3. 

Spawning via creative menu crashes game and a lot of junk error lines in the console at the startup

💬 melodelic, Jan 17th at 8:27 PM

This works for me in 1.20.

💬 DanaCraluminum , Dec 16th 2024 at 7:15 PM

Ijkdenem Yes

💬 Ijkdenem, Dec 16th 2024 at 6:59 PM

can you put ANY food in it or just plant based food?

 

💬 DanekJovax, Dec 11th 2024 at 2:33 PM

DanaCraluminum Ok!  I see that the actual tooltip decay time is appropriately calculating for the item I placed inside the composter, so the vanilla bug is the game reporting the Composter's decay rate.  Thanks!

💬 DanaCraluminum , Dec 10th 2024 at 10:21 PM

DanekJovax This is vanilla bug, I won't fix it, fixing vanilla bugs is not worth my time 

💬 DanekJovax, Dec 10th 2024 at 10:18 PM

DanaCraluminum I am in 1.20rc1, and installed 1.1.1 of this mod, and I built a composter (out of oak), placed it, and viewing the item, it's reporting the same decay speed as a vessel.  Doublechecking my config file, it's set to 10.0, so it should be 10x that rate.  Is there something I've missed?  Please advise.

💬 DanaCraluminum , Nov 25th 2024 at 11:27 AM

Aimli Fixed

💬 Aimli, Nov 25th 2024 at 3:27 AM

1.20-pre.13Does not work, opens the compost bin game reports an error

💬 DanekJovax, Nov 16th 2024 at 12:28 PM

DanaCraluminum Great!  I'm about to set up a 1.20 server for up to 24 people and I'lll be including this mod for sure!

💬 DanaCraluminum , Nov 15th 2024 at 11:00 AM

DanekJovax No need for update, it works in 1.20

💬 DanekJovax, Nov 15th 2024 at 12:03 AM

DanaCraluminum I've found this mod to fill one of the holes in VS, and I'll be using it going forward.  Are you planning a 1.20 update? Thanks!

💬 DanaCraluminum , Nov 12th 2024 at 11:43 AM

DanekJovax Config

💬 DanekJovax, Nov 12th 2024 at 8:26 AM

Nice item,. however, is there a way to tweak the spoilage rate?  500x seems a little overpowered and unrealistic.  Thanks in advance.

💬 Krougal, Oct 19th 2024 at 4:48 PM

DanaCraluminum I am not able to reproduce it now either. I guess it was tied to that particular save game.

💬 DanaCraluminum , Oct 15th 2024 at 9:45 AM

Krougal Can't reproduce in pre.6

💬 Krougal, Oct 14th 2024 at 9:27 PM

Great mod. It was working right through 1.20PR5 but is no longer working with 6. Doesn't crash the game at least, but shows as box of question marks.

💬 NAVAROME, Jun 17th 2024 at 11:13 AM

thank you

💬 CKitt, Jun 14th 2024 at 4:10 PM

NAVAROME

For Windows, navigate to C:/user/[your user name]/appdata/roaming/vintagestorydata/modconfig. Inside there is a file called "Composter.json" once you have the mod installed and you've run any world at least once. In the file, change the number in "PerishRate": 500.0 to whatever multiplier you prefer.

💬 NAVAROME, Jun 10th 2024 at 8:40 AM

how did you decreased the perish to 5x instead of the 500x?

💬 UnknownFox, Jun 1st 2024 at 4:59 PM

Just sharing as last post was few months back but still works great for 1.19.7.  I did decrease the perish speed to 5x instead but I am loving it.

💬 AndyAndY, Nov 18th 2023 at 2:11 AM

Any chance on having an option for this to be affected by the temperature like with perish speed in other containers?

Great mod btw, couldn't imagine playing without it.

💬 NukoSan, Sep 17th 2023 at 3:53 PM

Just some warnings from the console 

17.9.2023 16:45:15 [Warning] Did not find required shape composter:shapes/block/composter-0.json anywhere. (defined in Inventory shape for block composter:composter-north)

💬 Bumber, Sep 10th 2023 at 2:13 AM

DanaCraluminum

Thanks!

💬 DanaCraluminum , Sep 8th 2023 at 7:11 PM

Bumber Done

💬 Bumber, Sep 8th 2023 at 12:36 AM

Can we get a config file? I like to reduce the decay rate to a more reasonable one, and modifying files inside the .zip is less user friendly (and needs to be redone if the mod updates.)

💬 DanaCraluminum , Jul 9th 2023 at 9:55 AM

Shion Fixed, fruit mashes now rot properly

💬 Mohandar, Jul 4th 2023 at 9:44 PM

Hey DanaCraluminum, do you mind to add more plants as a source material for compost?
Think for example about those fern, flowers and stuff you find in the world which have no much useful use.
It would be great to be able to use them as biomass instead of your precious food 😁

💬 Shion, May 29th 2023 at 11:55 PM

@noellelavenza Does it mean that replacing spoilSpeedMulByFoodCat {} in assets\composter\blocktypes\composter.json with what you showed should fix the spoilage timer for everything?

Neither transitionSpeedMulByType nor transitionSpeedMul worked.

💬 noellelavenza, May 16th 2023 at 5:53 PM

In 1.18 you should just be able to use this:

    "transitionSpeedMulByType": {
      "*": { "perish": 10 }
    },

instead of all the spoilSpeedMulByFoodCat stuff you currently do. It will also fix the issue with things like raw meat or flour not perishing faster in the composter.

💬 DanaCraluminum , May 5th 2023 at 9:05 AM

Shion It is base game to blame

💬 Shion, May 5th 2023 at 8:51 AM

How does it work exactly? Mashes now show the same "fresh for" time no matter when inside or outside the composter.

💬 NerdScurvy, Apr 7th 2023 at 12:54 AM

CarryOn v1.0.0-rc.1 allows the composter to be carried.

💬 Shion, Dec 22nd 2022 at 5:07 AM

Any chance for compatibility with Carry On mod?

And a fix for the mash? For some reason it gets more fresh-time while in composter.

💬 Glennui, Jul 2nd 2022 at 5:41 AM

I love the idea of this but I've had mixed experience so far. It seems to work reliably for veggies, grains, and berries, but has a preserving effect on meat and meals. It is very handy on the items it works for and the composter itself looks nice.

💬 Broken, Jun 13th 2022 at 4:49 PM

I got this mod due to the fact I tend to get a crazy amount of stuff to just toss away and rot has it own uses but since I got it, It has not worked. Says 4x rot speeds but it rots slower than my xskills inventory.

💬 pablo11300, May 11th 2022 at 2:58 PM

hey if you need French translation contact me p.kapelar@gmail.com

💬 Lumber, Feb 27th 2022 at 3:09 AM

Just started using the composter, and I'm getting a x0.73 rate of rotting. It's outside. That's slower than what I get with food in my inventory. What should the rate be?

💬 DrJonson, Feb 22nd 2022 at 5:54 PM

hey if you need German translation contact me john.aggenstein@icloud.com

💬 Chrysander, Feb 6th 2022 at 11:55 AM

Thank you for the lightning-fast fix! 💯

💬 Chrysander, Feb 6th 2022 at 11:18 AM

Very nice! But seems like the oak variant can't be crafted.

 (edit comment delete)