Page 1 of 1

Jungle tree saplings

PostPosted: Mon Mar 06, 2017 20:56
by Sergey
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?

Re: Jungle tree saplings

PostPosted: Mon Mar 06, 2017 21:10
by Gael de Sailly
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

Re: Jungle tree saplings

PostPosted: Mon Mar 06, 2017 21:14
by Sergey
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.

Re: Jungle tree saplings

PostPosted: Mon Mar 06, 2017 21:32
by Gael de Sailly
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.

Re: Jungle tree saplings

PostPosted: Tue Mar 07, 2017 04:24
by hajo
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.