Trouble With Saplings destroying terrain {FIXED}

Started by Diskman on

Topic category: Help with modding (Java Edition)

Last seen on 15:42, 4. Oct 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trouble With Saplings destroying terrain {FIXED}
Tue, 06/22/2021 - 23:06 (edited)

I have, in my mod, a sea tree. which is a generated structure that I have added. When the tree generates naturally everything is cool and good, but when I place the structure from a procedure, the tree places air and overrides existing blocks, even though in the structure, I told it to ignore air. Is this a bug? and is there any way I can grow a tree from a sapling without it placing air and destroying parts of the terrain?

Hopefully this gets more attention than my other questions (still unanswered).

Edited by Diskman on Tue, 06/22/2021 - 23:06
Last seen on 15:42, 4. Oct 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind, the solution was…
Tue, 06/22/2021 - 23:06

Nevermind, the solution was to replace the air in the structure with structure void. Turns out the procedure places the actual structure, not the generated structure.