A custom tree breaks bedrock

Started by FrostPS on

Topic category: Help with modding (Java Edition)

Last seen on 01:19, 5. Apr 2024
Joined Jan 2023

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A custom tree breaks bedrock

Created my tree structure and sapling, but noticed that the tree when growing, breaks all the blocks on the way. I suppose it is necessary to make a check that there is air on the path of the growing sapling, and if it is not enough, it will not be able to grow. But is there any way to check blocks in a range of coordinates? I mean, checking each block individually is nonsense. Or maybe there is some other better way? (I used structural void, the problem is specifically with blocks in the tree path) ((English is not my native language, I use a translator, please don't cyberbully me or I'll cry))