I recently became interested in creating a tool for filtering seeds or previewing worlds outside of the game, something similar to Chunkbase for Minecraft. As far as I know, this would require decompiling parts of the code and recreating the same worldgen algorithm in the new tool. Would the developers be okay with this? If so, what would be the conditions, like could such a tool be open source, and am I allowed to copy-paste large chunks of the code, or does everything have to be rewritten from scratch?