Fixing the conflict.
Moving the world entity generation to before the world initialization. Added event to tree generation setup that allows mods to override the default tree generation with its own, or cancel it entirely.