Started by
qSided
on
Topic category: Help with Minecraft modding (Java Edition)
Alright, so I made a tree schematic, pretty standard stuff really, got the tree working and all. There is just one issue with the tree spawning when using schematics for them. The leaves tend to replace any block in their way. I could really use some help in making a procedure to maybe prevent this from happening. Any help is appreciated.
Alternatively, a way to check if a block is under a certain tag, for example, the "logs" tag. That way, if the block is under a certain tag, like a custom tag named "skip", it would make the tree unable to grow do to no space or something like that.
Maybe check if the block the leaves are trying to replace are air blocks? And then if they're not air blocks, then make it so the tree doesn't attempt to spawn a leaf block there