Multiple tree structures

Started by asadef on Mon, 04/19/2021 - 07:24

Topic category: Help with MCreator software

Last seen on 19:24, 27. Apr 2021
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Multiple tree structures
Mon, 04/19/2021 - 07:26 (edited)

I'm creating a biome with multiple variants of a new tree, just like the vanilla ones. I created structures for each variant, so each variant spawn independently.

The issue is that after the biome generates, some trees overlap, so cases like two stems touching or the leaves of a tree destroying part of the stem of another are quite common (it is possible to even find pieces of a destroyed tree floating).

Is there a way to stop this from happening? I thought on adding a procedure to check if there is air around the spawning point of a tree, so if it returns true the tree spawns, but have no idea on how to make it work, or if it is even possible...

Edited by asadef on Mon, 04/19/2021 - 07:26
Last seen on 13:35, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I don't know why people don…
Mon, 04/19/2021 - 09:03

I don't know why people don't know about this.. But here's the answer:

You need to make sure, that the structure block is in the center of the tree.

Or the tree will be off centered and might collide with other structures.

This is how to NOT set up a structureThis is how to set up a structure.

Last seen on 13:35, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry for the images not…
Mon, 04/19/2021 - 09:06

Sorry for the images not showing up.

Here is the image of how NOT to setup structures: https://drive.google.com/file/d/1wKMWN7naKpNkTUfSgZ84JNukSIlmZvPC/view?…

here is the image of how to setup structures: https://drive.google.com/file/d/1AXe5_eRQjJ5mwOF5VniZDRx2TSa2mbS1/view?…

 

Last seen on 13:35, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can reach this goal, by…
Mon, 04/19/2021 - 09:11

You can reach this goal, by changing the center point of the structure!

Last seen on 06:25, 13. May 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
"Access denied" :(…
Mon, 04/19/2021 - 10:45

"Access denied" :(

CodeLovingBison, I kindly advise you to not use Google Drive for sharing images, as not all the time can people remember to change the permission settings to "anyone with the link". use sites like Imgur or imgbb instead. but if you wish to continue using Drive, always set the permissions to be visible to anyone with the link so that others can access it ^_^

Last seen on 13:35, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you for warning. I…
Mon, 04/19/2021 - 12:36

Thank you for warning. I will be more careful...

Last seen on 19:24, 27. Apr 2021
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It worked! Thanks!
Mon, 04/19/2021 - 16:41

It worked! Thanks!

Last seen on 13:35, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You're welcome!
Mon, 04/19/2021 - 19:06

You're welcome!

Last seen on 13:35, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Wait... Did you set the…
Mon, 04/19/2021 - 19:32

Wait... Did you set the center point of the structure like this?

Example: https://ibb.co/H7N8VhS

Last seen on 13:35, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Because if you did it in the…
Mon, 04/19/2021 - 19:34

Because if you did it in the structure block, it wouldn't work. It will be offcentered as usual...