WorldEdit icon indicating copy to clipboard operation
WorldEdit copied to clipboard

Forest generation works bad in 1.18.1

Open molor opened this issue 3 years ago • 9 comments

WorldEdit Version

7.2.9-SNAPSHOT+6045-3fa364b

Platform Version

git-Paper-141 (MC: 1.18.1)

Confirmations

  • [X] I am using the most recent Minecraft release.
  • [X] I am using a version of WorldEdit compatible with my Minecraft version.
  • [X] I am using the latest or recommended version of my platform software.
  • [X] I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • [X] I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

/forestgen generates new trees above existing ones.

image

Expected Behavior

Before update to 1.18.1, in version 1.17.1, it worked correctly and doesn't place dirt blocks inside leaves. I expect that in the new version it should work the same way.

Reproduction Steps

  1. Go to plains;
  2. Use /forestgen multiple times

Anything Else?

No response

molor avatar Jan 13 '22 18:01 molor

this is an issue with changes in mojang's tree generation code. unsure if this was intentional but we may have to do extra validity check that they did previously and don't now.

wizjany avatar Jan 13 '22 18:01 wizjany

I know this is kinda a separate issue in and of itself but can y’all also update the flora command to look more natural?

lmbz115 avatar Jun 13 '22 02:06 lmbz115

It would be a separate issue, a feature request even. You should open a new issue with more details on what exactly "more natural" would mean to you.

octylFractal avatar Jun 13 '22 02:06 octylFractal

Hi, I was wondering if there's any work around for this issue?

DrBMello avatar Apr 27 '23 22:04 DrBMello

Me too. The command //forest works fine on flat area... but as soon as the terrain gets difference in elevation, trees start stacking on top of eachother. Super annoying to get rid of haha :D

Maybe a solution would be to only allow a tree to spawn on an existing grass_block. Without giving it permission to create one on its own. All the stacked trees have created dirt beneath them...

bl4ckv01d avatar Jul 27 '23 07:07 bl4ckv01d

this is also a problem in 1.19.2, does anyone know how to get around this?

0rbitL1 avatar Aug 09 '23 05:08 0rbitL1

There is no workaround AFAIK, fixing this is quite involved because the checks are no longer straightforward. I've taken multiple stabs at it without results.

octylFractal avatar Aug 09 '23 05:08 octylFractal

Same thing happening to me on the latest version on MC 1.20.2... Additionally, the trees also generate on water surfaces not just on top of each other... From what I've seen so far in this issue tracker, the issue can't be worked out... Could you please remove it then? Forestgen completely unusable atm

churchner420 avatar Nov 07 '23 08:11 churchner420