Jump to content

Recommended Posts

Farmland Drops Soil changes the behavior of farmland to drop soil when broken, depending on the nutrients available.

oGpuPlo.thumb.png.c3640cfa189e1bc517f641b4d5fc4d3f.png

This is for those people that got frustrated by losing their precious Terra Preta when wanting to move their farms to a better, fancier place or even their entire base. Well, you can't! Except with the amazing Farmland Drops Soil mod. When you break a farmland block, it will have a chance to drop their respective soil block, depending on the nutrients available. If you wait for the nutrients to fully recover, you always get your soil back. Otherwise, it will pick the lowest nutrient, and adjust the drop chance based on it. For example, a Terra Preta farmland with N=80, P=60, K=40 has a 50% chance to drop the soil block (40 / 80 = 0.5).

[ Download ]
Source code is available on GitHub as well.

Edited by copygirl
Link to post
Share on other sites
1 minute ago, Tyron said:

Well perhaps more like make the farmland drop soil with a special "was farmland" attribute and when placed it'll remember its state until tilled or so

If you actually make the soil items remember their state, then they won't stack anymore. I still like my idea best 😛

Link to post
Share on other sites
  • 5 weeks later...
5 hours ago, DrTenabrae said:

or you only get a block back when the tilled land is at 100% nutrient (so you're essentially 'preparing the soil for transport'

That would be confusing for players who don't know about this rule, and frustrating in general. And doesn't make much sense, in my opinion, to drop nothing when you dig up farmland.

Link to post
Share on other sites

What about doing something similar to food regarding the stacking, to follow up on @Tyron's post? Picking up a farmland block with lower than full nutrients will store its nutrients on the item itself. If the nutrients are similar enough to an existent stack in your inventory, they automatically stack. If not, you can still forcefully stack them, like food with varying amounts of freshness. Either way, the nutrients will be averaged.

  • Amazing! 1
Link to post
Share on other sites
  • copygirl changed the title to Farmland Drops Soil v1.2.0

Updated the mod to something more sophisticated and balanced.

- Farmland no longer always drops the soil block, it depends on the nutrients at the time of breaking it. (See first post.)
- It now is once more a mod that's required on both server and client, due to a block behavior being added.

Link to post
Share on other sites
On 9/27/2019 at 9:20 AM, copygirl said:

If you actually make the soil items remember their state, then they won't stack anymore. I still like my idea best 😛

Can you make a system similar to food? You can stack food with different expiration dates and it will be averaged

Edited by DArkHekRoMaNT
Link to post
Share on other sites
2 minutes ago, DArkHekRoMaNT said:

Can you make a system similar to food? You can stack food with different expiration dates and it will be averaged

It would require the item and soil block to store this additional information. Turning soil blocks into block entities is a no-go.

Link to post
Share on other sites

I seen someones revised version of this, I actaully have it and I like it quite a bit. glad you thought of it. combined with my own mod I can exploit the revised version of this if I really wanted to but don't at least not intentionally.

the way they did it is you will always get a soil block when you break the farmland but the soil block you get will very on the nutrients in the farmland so if its at the default with no usage aka 25, 50, 65, or 80 (I think compost is 65). either way if it has less than it's full nutrients you get the highest soil block that matches the lowest nutrient so if you plant terra pretta and you dig it up and it has all 80s you will get 100% terra pretta soil drop, if its say 90-70-80 (90 due to fertilizer) you will get compost soil back. with my fertilizer mod you can make a super fertilzier that adds a slow release of nutrients 80-80-80 but it is really slow so don't expect to get super soil lol but it will help keep you farming with less rotations and if you take a medium soil block till it fertilize it until it has over 80 in each nutrient you can dig it up and get a terra pretta soil block. takes forever for soil to go up though and I think it drains faster if the nutrient is above the max the farmland naturally has so it's a little hard if you want to really try to exploit it.

either way. I don't mind waiting for it to regen nutrients if it means I can dig it up and move. I'm glad you made this mod.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.