Started by
Ball-van
on
Topic category: Help with Minecraft modding (Java Edition)
Hello! I have a problem with custom trees.
The problem is that when I put a tree seedling and fertilize it with bone meal, then my tree (structure) replaces other blocks, that is, it doesn’t matter where it grows, it can sprout in cobblestone. When a sapling is replaced by my custom tree, the custom tree can replace other blocks, thus it can even replace a badrock.
I need a procedure that will check a certain radius around the sapling, and if it is empty, then in this case my custom tree is placed. Can anyone help me with this?
Edited by Ball-van on Sat, 07/30/2022 - 20:45