Generate podzol around huge spruce trees #2097

Closed
opened 2022-04-04 09:26:30 +02:00 by kneekoo · 10 comments
Contributor

According to the wiki (also tested in Minecraft):

Podzol replaces grass blocks, dirt, mycelium, coarse dirt, rooted dirt and moss block‌ around a large spruce tree when it is grown from 4 saplings arranged in a square. The pattern of the podzol reaches at most 6 blocks in the eastern and southern (positive X and Z) directions, and 5 blocks in the western and northern directions.

pattern of dirt converted to podzol

Currently, dirt is not converted to podzol around the giant spruce tree.

According to [the wiki](https://minecraft.fandom.com/wiki/Podzol#Post-generation) (also tested in Minecraft): > Podzol replaces grass blocks, dirt, mycelium, coarse dirt, rooted dirt and moss block‌ around a large spruce tree when it is grown from 4 saplings arranged in a square. The pattern of the podzol reaches at most 6 blocks in the eastern and southern (positive X and Z) directions, and 5 blocks in the western and northern directions. ![pattern of dirt converted to podzol](https://static.wikia.nocookie.net/minecraft_gamepedia/images/c/ca/PodzolPattern.png) Currently, dirt is not converted to podzol around the giant spruce tree.
kneekoo added the
incomplete feature
label 2022-04-08 00:58:30 +02:00
erlehmann added the
mcla
label 2022-04-16 03:10:38 +02:00
Contributor

I'm implementing this rn. I suppose the minecraft purists will have to decide though:

The pattern of the podzol reaches at most 6 blocks in the eastern and southern (positive X and Z) directions, and 5 blocks in the western and northern directions.

Do you want the 6 nodes to be southeast or +x/+z (which is northeast in mt) ?

I'm implementing this rn. I suppose the minecraft purists will have to decide though: > The pattern of the podzol reaches at most 6 blocks in the eastern and southern (positive X and Z) directions, and 5 blocks in the western and northern directions. Do you want the 6 nodes to be southeast or +x/+z (which is northeast in mt) ?
Contributor

I would propose going the +x/+z way though bc it would make the code a bit simpler. Imo it makes 0 difference gameplay wise.

I would propose going the +x/+z way though bc it would make the code a bit simpler. Imo it makes 0 difference gameplay wise.
Author
Contributor

If it can he done similar but simpler, that sounds great to me.

If it can he done similar but simpler, that sounds great to me.
Contributor

well its a question of definition - +x is east in minetest and west in minecraft apparently

well its a question of definition - +x is east in minetest and west in minecraft apparently
Contributor

so either way would be wrong/right in a way of looking at it

so either way would be wrong/right in a way of looking at it
Author
Contributor

It really doesn't matter which direction the 6 nodes go as long as we get a similar podzol area - the blocks themselves are important because mushrooms grow on podzol at any light level, so it's a handy way to make a farm. :) Well, they should grow but I'll have to test it.

It really doesn't matter which direction the 6 nodes go as long as we get a similar podzol area - the blocks themselves are important because mushrooms grow on podzol at any light level, so it's a handy way to make a farm. :) Well, they should grow but I'll have to test it.
Contributor

works

works ![](https://mister-muffin.de/p/Qsax.png)
Contributor

works

Works wrongly though.. It should not place all the podzol at once. See my comments at the PR.

> works Works wrongly though.. It should not place all the podzol at once. See [my comments at the PR.](https://git.minetest.land/MineClone2/MineClone2/pulls/2126#issuecomment-36544)
Author
Contributor

Welp, that's on me - I completely forgot about the randomness. But I'm still happy we have podzol now. :P

Welp, that's on me - I completely forgot about the randomness. But I'm still happy we have podzol now. :P
Contributor

As said in the PR doing it with abm is a horrible idea by itsself plus it would make the whole thing fairly complex.... It would need to keep state for the whole time of it spreading (i.e. where the growing tree was) ... I do not think that is worth it.

As said in the PR doing it with abm is a horrible idea by itsself plus it would make the whole thing fairly complex.... It would need to keep state for the whole time of it spreading (i.e. where the growing tree was) ... I do not think that is worth it.
cora closed this issue 2022-04-22 00:27:21 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#2097
No description provided.