How to make structures only spawn if they have enough space?

Started by Sharadise on

Topic category: Help with MCreator software

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make structures only spawn if they have enough space?

Does anyone happen to know how to prevent saplings from breaking blocks when they spawn tree structures?  I know you can check for 'air' one block at a time, but for a medium sized tree that's already hundreds of blocks to check, so checking them individually really isn't viable. Planting a tree next to your house really shouldn't replace half of it when it grows up (or break the bedrock ceiling for example).

Is there maybe a plugin for this that I am unaware of?

PS: Apologies if there's an obvious solution that I've just missed, but I'm still fairly new to MCreator.