EngineHub / WorldEdit

🗺️ Minecraft map editor and mod
https://enginehub.org/worldedit/
Other
3.06k stars 827 forks source link

/tool tree command producing trees with inadequate amount of log blocks #2508

Closed yngmnyaustin closed 2 weeks ago

yngmnyaustin commented 3 months ago

WorldEdit Version

7.3.0

Platform Version

Forge 1.20.4-49.0.34

Confirmations

Bug Description

When using the /tool tree [type] command to generate trees (i.e. [type] = spruce, bigtree, etc.) the resulting trees generated by the command contain an inadequate amount of log blocks, causing leaf blocks to decay unless additional log blocks are manually placed.

Expected Behavior

When using the /tool tree [type] command, the generated tree should contain a number of log blocks, evenly spaced within the leaf blocks, in order to prevent automatic decay of the generated leaf blocks.

Reproduction Steps

  1. Bound the /tool tree [type] command to an eligible item (i.e. Stick)
  2. Choose a block to generate the tree on (i.e. Grass)
  3. Right click to generate tree. The generated tree will not contain enough log blocks to prevent leaf decay.

Anything Else?

No response

me4502 commented 3 months ago

We don't control what gets generated here, we just tell the game to generate a tree of the given type at the given location. Minecraft does sometimes generate trees with decaying leaves.

I'm not sure this is something we can really do anything about, because it's the game doing this generation, not us. If we were to modify these trees, then people would complain that we don't generate trees correctly because they differ from natural generation

yngmnyaustin commented 3 months ago

Ah, I see. I thought this was a bug as I've been able to use the command to generate trees that didn't decay in previous versions. Perhaps the generation code has changed in a new update? Good to know though.

github-actions[bot] commented 3 weeks ago

This issue has been automatically marked as stale because it has not been fully confirmed. It will be closed if no further activity occurs. Thank you for your contributions.