Mods / Farmland Drops With Nutrients

Tags: #QoL #Simplification #Utility
Author: jayu
Side: Both
Created: Oct 10th 2024 at 11:26 PM
Last modified: Nov 23rd at 6:13 PM
Downloads: 11908
Follow Unfollow 325

Recommended download (for Vintage Story 1.21.0-pre.1 - 1.21.5):
farmlanddropswithnutrients_1.2.2.zip  1-click install


Farmland will always drop and carry over nutrients. If the farmland has default nutrients, it will drop as the corresponding soil, otherwise it will drop keeping all the nutrient data (including fertiliser). Farmland stacks will merge smoothly, averaging their nutrients together. You can now mix all your farmland to uniform the nutrients.

This mod can be freely added and removed to worlds, but if you place farmland while this mod is not installed it will not use the stored fertility value, nor will it display.

Compatibility

Enjoy my work? You can support me on Ko-fi or Patreon. Thank you!

Support me on Ko-fi   Support me on Patreon

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.2.2 farmlanddropswithnutrients
1.21.0-pre.1 - 1.21.5
4507 Aug 25th at 9:34 PM farmlanddropswithnutrients_1.2.2.zip 1-click install
  • [Update] Build for 1.21.0
1.2.1 farmlanddropswithnutrients
1.20.5 - 1.20.12
3704 Apr 8th at 1:29 AM farmlanddropswithnutrients_1.2.1.zip 1-click install
  • [Fix] Fix dupe bug with placing creative-given farmland (unlikely to happen in survival)
  • [Fix] Farmland with default nutrients not dropping as soil
1.2.0 farmlanddropswithnutrients 849 Mar 18th at 1:21 PM farmlanddropswithnutrients_1.2.0.zip 1-click install

Recompiled for 1.20.5

1.1.3 farmlanddropswithnutrients 501 Mar 14th at 2:06 AM farmlanddropswithnutrients_1.1.3.zip 1-click install
  • [Fix] Fixed farmland dropping soil if it has no fertiliser and any fertility value is the same as the original
1.1.2 farmlanddropswithnutrients 44 Mar 14th at 1:19 AM farmlanddropswithnutrients_1.1.2.zip 1-click install

Repackage as zip

1.1.1 farmlanddropswithnutrients 1450 Oct 11th 2024 at 2:46 PM FarmlandDropsWithNutrients.dll 1-click install
  • Ignore moisture when picking up farmland with default nutrient levels as soil
1.1.0 farmlanddropswithnutrients 410 Oct 11th 2024 at 2:22 PM FarmlandDropsWithNutrients.dll 1-click install
  • Refactor to support more generic farmland types
  • Compatible with CAN crops farmland
  • Farmland never drops as "moist" farmland so that all farmlands of the same type are stackable (moisture content is still retained)
1.0.0 farmlanddropswithnutrients 443 Oct 11th 2024 at 12:14 AM FarmlandDropsWithNutrients.dll 1-click install

Initial release


32 Comments (oldest first | newest first)

💬 jayu , Nov 23rd at 6:12 PM

Oof looks like the gif vanished

💬 Skade98, Nov 22nd at 10:51 AM

so far this is working on 1.21.5 if anyone is wondering

💬 jayu , Sep 16th at 8:50 PM

Mynxae which part is ambiguous so I can make it clearer? What you're asking for is kind of the entire point of the mod.

💬 Mynxae, Sep 16th at 5:43 AM

Just confirming as the wording is slightly ambiguous - if the farmland currently has fertilizer on it, will that stay attached to it if I dig it up to place it elsewhere? About to be moving my base and my farmland is all high fertility soil with potash on it, ready for a big planting of flax! D: 

💬 egocarib, May 6th at 3:34 PM

Great mod, thank you

💬 jayu , Apr 8th at 1:29 AM

KnewOne fixed

💬 KnewOne, Apr 4th at 10:30 PM

The soil drop when nutrients at default level doesn't seem to be working. Tested with no mods and in new world. Hoe'd a farmland, broke it, it dropped as farmland and not soil. 1.20.7 / 1.2.0

💬 jayu , Mar 14th at 7:23 PM

DarkThoughts the mod uses itemstack attributes, the equivalent of minecraft's nbt data. It stores the attribute in the item stack, then retrieves it when you try to place it down. That's it. Vanilla uses this much more extensively than this mod for clutter blocks, as they use attributes also for rendering.

💬 DarkThoughts, Mar 14th at 7:17 PM

So, is this going to add a gazillion of block variants or how is this done on a technical level? Seeing how some mods like vanilla variants completely wreck the ram usage, I'm rather paranoid now.

💬 Guimoute, Mar 14th at 3:47 AM

Awesome! I'll grab this and uninstall Farmland Drops Soil (sometimes).

💬 Robot_Milk, Mar 14th at 2:17 AM

<3<3 Have a wonderful night friend.

💬 jayu , Mar 14th at 2:06 AM

Robot_Milk I was faster than your comment XP

💬 Robot_Milk, Mar 14th at 2:04 AM

Ah I see. Any chance of a fix? I already appreciate you updating this for 1.20 <3

💬 jayu , Mar 14th at 2:03 AM

Robot_Milk whoopsie the logic checks if any fertility is the same as the original, and not if they are all the same.

💬 Robot_Milk, Mar 14th at 2:00 AM

Ah I think I misspoke, it also drops as soil when there are less nutrients in it as well as in its default state. Only the addition of fertilizer makes it still drop.

💬 jayu , Mar 14th at 1:50 AM

Robot_Milk yeah, I suppose I could make that configurable, but it was requested back in the day. Allows one to recover the dirt when there is no extra nutrient info. Can be useful for terra preta for example, if you need it for crafting. This only happens if the farmland is in its default state, so it's balanced.

💬 Robot_Milk, Mar 14th at 1:47 AM

Deleted my old comment with a bit less info. Blocks will only drop as farmland when they have fertilizer in them, even if they're missing nutrients. Is this intended behavior?

💬 jayu , Mar 14th at 1:29 AM

OliverRook no change was done, but it appears to work fine for 1.20 at a cursory glance. I simply recompiled the mod as a zip and for 1.20

💬 OliverRook, Mar 14th at 1:21 AM

Wow, I literally just found this mod less than 10 minutes ago and it updated after 6 months less than 5 minutes ago XD

💬 jayu , Mar 14th at 1:11 AM

PukupukuDragon it works fine in 1.19.8. DLL-only mods are an official modding template, and all the modinfo information is contained in the assembly info. The game can load it fine, but apparently the vanilla api for server download doesn't recognise DLL-only mods. Edit: repackaged as zip.

💬 PukupukuDragon, Mar 14th at 1:04 AM

This doesn't work, add a modinfo.json.

💬 jayu , Jan 21st at 3:29 PM

agaric I haven't tested, but I don't think 1.20 changed anything about farmland. I could be wrong tho...

💬 agaric, Jan 21st at 1:57 AM

i think it'd be nice to have word from the author, but your word is enough for me lol

💬 ElegantChimp, Jan 20th at 5:17 AM

I played around for a bit with it to test it, and it seemed to be working fine on 1.20.1

💬 agaric, Jan 20th at 2:03 AM

does this work with 1.20.1?

💬 jayu , Dec 31st 2024 at 10:05 AM

NastyFlytrap did it have any extra nutrients? If they're default it should drop normal dirt. Mod has had no changes since it worked, and should also be compatible with CAN crops. Do you have any other mod that alters farmland?

💬 NastyFlytrap, Dec 26th 2024 at 5:06 PM

Mod doesnt seem to work. I've had it installed for months, and the medium soil i placed two weeks ago wasnt always dropping when i mined it a few seconds ago. V1.19.8 and v1.1.1

💬 jayu , Dec 18th 2024 at 4:30 PM

VaelophisNyx does it? Why does the official modding template allow to release as dll only then lol. modinfo is included tho, just in the assembly info instead of as a file. The game itself can read that when loading the mod, so it'd be weird if it can't in other circumstances...

💬 VaelophisNyx, Nov 7th 2024 at 10:12 PM

shouldn't it need the zip and mod info files because servers need that to download automatically?

💬 SternFr, Oct 11th 2024 at 7:38 PM

ok thank you

 

💬 jayu , Oct 11th 2024 at 10:19 AM

FrazierFr this mod has no assets so it's a pure executable, no need for a zip. Vintage story and mods are a dll file plus some assets.

💬 SternFr, Oct 11th 2024 at 9:23 AM

.dll ?

 

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом