Topic category: Help with Minecraft modding (Java Edition)
So I've run into a problem while making a procedure to generate a tree - about 40% of the time when I use bonemeal on the tree's sapling, the blocks that would/are supposed to generate flash in and then immediately vanish. The other 60% of the time, the tree generates normally. (I've also verified that the blocks aren't actually there, but just not rendered. It truly sets the blocks back to air somehow.)
Here is the sapling right click procedure:
And here is the .ptpl file for the tree generation procedure (it'll have unloaded elements for the block types, but it should still be able to be read).
(It's a .ptpl because the procedure is 1,111 blocks long)
I've tried everything I can think of, and nothing seems to work - I must be missing something simple, but I'm not sure what it is.
Still have this issue. I have looked over it multiple times and can't find anything that would cause the vanishing to happen.
Anyone know how to fix it?
And why do you repeat the function 3 times and the first one with a 50% chance? (if that's what I'm talking about the procedure that you threw off the file)