Hello I am currently trying to make a biome in which my custom trees generate, I have the log, the leave and the sapling fully set up and working, however, getting my tree to generate naturally causes big problems, even though I don't understand why as the code is pretty much straight taken from the vanilla treegen with only slight changes made, here is my code:
WorldGen
WorldGenBigCherryTree
The issues I am facing are the following:
long chunk load times when in my biome
cascading worldgen lag warning (pretty much constantly when in my biome)
these really weird generation issues (see attachments)
Small side note regarding the generation issues (the ones where trees try to generate ontop of water or other trees): These really shouldn't be happening since in the generate method of WorldGenBigCherryTree (the method that is called first) the method's execution should be terminated when the position is not a valid tree position (so neither grass nor dirt below the block) which clearly isn't happening.
Any help would be greatly appreciated, thanks a lot!