Jungle tree saplings

User avatar
Sergey
Member
 
Posts: 362
Joined: Wed Jan 11, 2017 13:28

Jungle tree saplings

by Sergey » Mon Mar 06, 2017 20:56

Why jungle saplings drop so rarely?

If I fell pine or aspen I could get 3 saplings. As for jungle trees, I fell 3 of them and got only one sapling.

Is that behavior intentionally programmed? Or probability of dropping of saplings is equal for all trees but I am just unlucky?
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Jungle tree saplings

by Gael de Sailly » Mon Mar 06, 2017 21:10

I looked in the code, and it seems that the probability is the same for both trees (1/20). You should even get more saplings per jungle trees because it has more leaves. But if you cut only one tree in a dense forest, the nearby trunks will prevent some leaves from popping (a leaves block pops when there is no trunk in a radius of 3 blocks) and so you will get less saplings.

Or maybe you were simply unlucky…
Drops for plain trees
Drops for jungle trees
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
Sergey
Member
 
Posts: 362
Joined: Wed Jan 11, 2017 13:28

Re: Jungle tree saplings

by Sergey » Mon Mar 06, 2017 21:14

Gael de Sailly wrote:I looked in the code, and it seems that the probability is the same for both trees (1/20). You should even get more saplings per jungle trees because it has more leaves. But if you cut only one tree in a dense forest, the nearby trunks will prevent some leaves from popping (a leaves block pops when there is no trunk in a radius of 3 blocks) and so you will get less saplings.

Or maybe you were simply unlucky…
Drops for plain trees
Drops for jungle trees

Yes. Leaves from felled tree stick to neighbour trees.

I already complained about that weird behavior.
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Jungle tree saplings

by Gael de Sailly » Mon Mar 06, 2017 21:32

The problem is that a leaves block is not linked to a tree. It would be difficult to code. Metadata are unappropriate because too slow for a huge quantity of nodes. param2 might be a solution, but it's not as handy to manipulate (values from 0 to 255). I made an experiment last year, here.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

hajo
Member
 
Posts: 262
Joined: Thu Oct 13, 2016 10:45

Re: Jungle tree saplings

by hajo » Tue Mar 07, 2017 04:24

Sergey wrote:Why jungle saplings drop so rarely?

Don't just wait for saplings to drop, gets some leaves (about 20..99) !

Then repeatedly place and pickup those leaves,
and with some patience, you can get a sapling from every leaf.
Some of 'my' wiki-pages: Build-a-home - basic-robot - basic-machines - digtron
 


Return to Minetest General

Who is online

Users browsing this forum: Google [Bot] and 16 guests

cron