I think I discovered a more efficient farming setup in Minecraft. Any idea what’s causing this?
I’m working on a video about Minecraft farming to challenge the idea that the design with a single water block in the center is the most efficient one.
After running several experiments, I found that the traditional farming layout is, in theory, the most efficient.
However, while messing around and testing things out of curiosity, I noticed something strange, if you add water underneath the traditional layout, crops grow noticeably faster. I ran 70 tests, and in 92% of the cases, the setup with water underneath grew faster than the normal traditional one.
What’s interesting is that I can’t really figure out the logic behind this. In theory, based on how farmland hydration works, water below shouldn’t have any effect, since it doesn’t hydrate the blocks above. Still, with that many tests and such a clear difference, it’s pretty obvious that this isn’t just coincidence.
I play in Java Edition.
After running several experiments, I found that the traditional farming layout is, in theory, the most efficient.
However, while messing around and testing things out of curiosity, I noticed something strange, if you add water underneath the traditional layout, crops grow noticeably faster. I ran 70 tests, and in 92% of the cases, the setup with water underneath grew faster than the normal traditional one.
What’s interesting is that I can’t really figure out the logic behind this. In theory, based on how farmland hydration works, water below shouldn’t have any effect, since it doesn’t hydrate the blocks above. Still, with that many tests and such a clear difference, it’s pretty obvious that this isn’t just coincidence.
I play in Java Edition.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
Does this work when calling the parental units too?
What I am still curious about is whether spacing out the lines with water like you have shown is more efficient than a 9x9 with alternating crop rows? I assume it's the same but I'm not sure.
What still really surprises me is the water-underneath thing. After making this post, I ran another test using a different farming layout with water underneath (I used the single water block in the center design), and once again the result was the same, a crop growth improved
To my knowledge, crops grow at fairly consistent tick-rate, and crop configuration has no effect on either tick-speed nor growth speed.
1. It seems they are harvesting the crops after 2 Minecraft days now matter the growth stage which means an ingrown crop counts for the same as a crop one growth stage from maturity.
2. Counting the harvested crops rather than the rate at which they grow, a crop could return anywhere from 1-5 additional crops after harvesting. This paired with harvesting non-mature crops completely invalidates their findings.
3. They haven't posted any pictures of their setups which leads me to believe they may be using more plants for some tests than others. I hope not but I can't rule it out.
One conclusion I’ve come to is that farming layouts with unusual or decorative designs, like checkerboards or even making shapes such as a creeper face, are very inefficient.
Technically, yes, but the additional volume of crops grown more then makes up for the slight time loss.
/s
Is it fast enough to weigh out the land area that you're losing? Or, if we're putting land area aside, how long does it take to harvest all of these farm types on average, given each farm has the same amount of plots?
For some reason, a lot of people assume this is a myth much in the same way that people say that sugarcane grows faster on sand (it does not).
It's possible there's some systematic error in how you are measuring; have you checked that both tests are run under identical conditions? Including lighting, surrounding farmland, chunk boundaries, etc.
So carrots next to wheat will grow faster than wheat next to wheat, its growing faster for this reason only
After those 2 days passed, I froze time again to harvest all the crops at the same time, recording each harvest in a log.
For example one setup may have had multiple crops hit with enough random ticks to grow fully while others didn't grow even one stage meanwhile another setup could have few plants that are fully grown but many more that are one growth stage from maturity. Those plants that aren't fully grown would drop 1 seed/vegetable the same as a plant that wasn't grown at all while the setup that has more fully grown crops get 1-5 additional crops back per fully grown crop. Your data is meaningless.
If you want to prove your point you need to either count all growth stages from each crop over a set amount of time or plant a large field with various setups and track the time until each field is fully grown, with multiple trials to remove any outlier results.
so alternating lines of different crops (or water) is more efficient and alternating crops in a checkerboard pattern is the most efficient
In fact, the only way to *not* get the crowding debuff applied is to have no similar crops on diagonals, and on no more than one orthagonal. Aka, crops in a line, surrounded by farmland (which can have other crops).
Alternating rows of crop and water doubles the rate per crop, but you obviously need twice as much space.
Alternating crop types with a single block of water will increase rates a little further than alternating crops and water. Crops grow faster when surrounded by farmland, up to twice as fast if it's fully surrounded on all 8 sides.
If you're the kind of person who plants crops and may not think about them for hours (which I think is most of us), you should just plant them in one big square and not worry about alternating rows.
Farmland ticks faster when it is surrounded by farmland or water, right? But can you put farmland under farmland? No, you can’t. It would turn into dirt, which inhibits farmland growth rates. Farmland checks in the cardinal directions for farmland, which is likely to have now accidentally included the vertical directions too.
Try with stone, with ice, and with wool. I’m curious what other blocks can be used since hydration is useless for farmland above water.
Couldn't find anything on the wiki to suggest that. You have any resource that says that?
Also the farmland doesn't need to tick to grow crops. The crop block is the one that ticks.
Example: wheat and other single block crops grow best in rows rather than massive squares with a single water block in the middle. Only two maximum adjacent identical crops allowed. This is crop-centric calculation. But wait, what about the farmland? Tilled dirt is helpful to promote the growth of crops on adjacent farmland blocks. This is why we till large areas of dirt rather than just the rows. Additionally, if the farmland is not properly hydrated, the crop can abort the second that the farmland converts back into regular dirt. These are soil-centric calculations. They are not necessarily involved with specific crops, they are just general for all crops.
Now what makes farmland into dirt? If a block that isn’t a crop is placed on top of it, or if there is no flowing water in a 7-block radius on the same plane as the farmland, or if something jumps onto the farmland from above enough times. Liquids count as blocks in this case, so if you pour water onto your farm it will remove all the farmland and break the crops too (I think).
So when it checks for farmland beside it, it’s not looking up or down, yet it does seem to look down at the water below itself.
Here’s something else that just occurred to me, that might be the actual reason for this phenomenon: block updates. Block updates occur every so often, but can be accelerated in frequency by updating adjacent blocks (which is how sand can form caverns despite being a gravity-obeying block: they haven’t been updated yet so they don’t check their own neighboring blocks to see if they are supposed to be elevated still or if they should fall… until you break one of the blocks that is directly unsupported, at which point adjacent blocks will wake up and go “oh sh!t!” before falling themselves).
I bring this up because water blocks are kinda weird, they constantly update whether they should still be there, because when the source water block is gone, the flowing blocks disappear since they have nowhere to flow from anymore. If the source block is not close enough, then it disappears or lowers the level to match. Source water blocks can be a source of block updates too, I think, but I don’t know for sure. So if flowing water is going under the farmland, then it’s probably double ticking the farmland which as a result might trigger the crops more frequently.
I put a thing together quite hastily and kinda bootleg. Turned the tick rate up to 500 Hz.
The testing with flowing water sources under farmland didn't seem to do much.
I switched them out for observers instead; they were pairs, one redstone-side facing down and one facing the farmland. Also had one setup where flowing non-source water was under the farmland.
I tried to keep as many variables constant as possible and made use of tick freeze and unfreeze as well as tick rate to gather my results. Found that none of these things seemed to actually make a difference.
Again, my setups were very jank and I did the bare minimum to quantify anything.
However, I put still water source under the farmland and I was able to notice some qualitative results. It just seemed to grow faster for some reason (for wheat and carrots).
When I find the time, I'm going to look through the code to see if there's any reasonable explanation.
Talking with some friends who understand the tick system a bit better, they mentioned a possible explanation: Putting water underneath might create an effect where the game treats those spaces as non-valid blocks, which indirectly speeds up crop growth. Why? Because it seems like the game selects blocks at random per chunk, but only from valid candidates. By removing some valid blocks, priority is effectively given to the ones that remain eligible.
That said, this is more of a theory than anything else, going through the code would really help confirm whether that’s actually what’s happening.
https://minecraft.wiki/w/Tutorial:Crop_farming
The TLDR though is that a plant surrounded on all sides (including diagonals) with hydrated tilled soil NOT containing the SAME crop grows fastest.
So 1 wheat surrounded by empty soil or carrots grows fastest.
The 9x9 is just used because it's the most compact layout. You can alternate rows of different crops (or do a checkerboard pattern) and they'll grow faster.
No idea about the water below. Have you looked at the code? It's pointless to do experiments in game when the code is openly available.
that's why you should alternate rows for efficiency.
It goes quite in depth about the game's logic for calculating groth chance.
If you didn't, here's the article : https://minecraft.wiki/w/Tutorial:Crop_farming#Growth_rate
About the "water underneath farmland makes it grow faster" thing, that seem very odd to me. I've never heard of such a thing, and the wiki doesn't mention it. I'll take a look at the game's code once I get home.
What version did you run the tests on?
I’d really appreciate it if you could take a look at the code. I’ve been playing Minecraft for over a decade, but I’ve never gone deep into that side of things.
Learning how to understand Java code might be a bit difficult iff you dont know programing, but it can also be learned online.
Btw you forgot to give me your game version? It might affect things
The tests were done in versions 1.21.11 and 1.21.10 Java Edition
protected void randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) {
if (world.getBaseLightLevel(pos, 0) >= 9) {
int i = this.getAge(state);
if (i < this.getMaxAge()) {
float f = getAvailableMoisture(this, world, pos);
if (random.nextInt((int)(25.0F / f) + 1) == 0) {
world.setBlockState(pos, this.withAge(i + 1), Block.NOTIFY_LISTENERS);
}
}
}
}
As you can see, all it checks is if the light level is sufficient, and if the crop isn't fully grown (age < maxAge).
Then it gets the "available moisture" and rolls a dice (random number) where more "moisture" means higher chance of the dice roll succeeding and increasing the plant's age by 1.
The available moisture is what is explained in great length on the wiki, I double check that the code does what the wiki says, and it is correct (it doesn't check what is below the farmland, so water there shouldn't change anything)
I saw on another comment you thought that it would somehow increase the number of random ticks received by the crop. That seems very unlikely, but its theorically possible that such a bug could exists.
I am more inclined to think that your findings are either because your setup was across multiple chunks, or multiple subchunks, which would cause double the updates on your fields
For those that don't know what a statistical contrast is (or contrast, for short), it is a relatively easy way to find out if two sets of data are statistically different. It starts by assuming the null hypothesis (a certain set of data has an average and a standard deviation). Then it compares the second set of data to the first. It asks: how likely is it that this second set of values are obtained IF they came from exactly the same population than the first? This probably is called the p-value, and (in theory) it can range from 0 to 1. Low p-values mean that it is very unlikely that both sets of data do come from the same population, and high p-values mean the opposite, that the difference is not statistically significant (you could expect obtaining the second set of data if it came from the same distribution as the first).
The amount of samples also helps contrasts differentiate better between two samples, and since OP mentioned running lots of tests, this kind of analysis would be very insightful.
It's relatively easy to do all these statistics stuff in excel or google sheets with minimal googling or asking an AI, so if anyone is interested, go for it!
Also, you have to define "Efficient". Efficient can either be defined as time efficient or resource efficient. In the matter of crop farming, it's mostly defined as resource efficient. That means maximizing the output from a limited crop area is the definition of an efficient farm. What you have there is not an efficient farm. It's just a quick farm.