## Jungle tree saplings

Sergey
Member

Posts: 784
Joined: Wed Jan 11, 2017 13:28
Location: Russia

### Jungle tree saplings

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?

Gael de Sailly
Member

Posts: 741
Joined: Sun Jan 26, 2014 17:01
Location: Lyon, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly Ginkgoo

### Re: Jungle tree saplings

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
Just realize how bored we would be if the world was perfect.

Sergey
Member

Posts: 784
Joined: Wed Jan 11, 2017 13:28
Location: Russia

### Re: Jungle tree saplings

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.

Gael de Sailly
Member

Posts: 741
Joined: Sun Jan 26, 2014 17:01
Location: Lyon, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly Ginkgoo

### Re: Jungle tree saplings

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.
Just realize how bored we would be if the world was perfect.

hajo
Member

Posts: 601
Joined: Thu Oct 13, 2016 10:45
Location: DE

### Re: Jungle tree saplings

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.