Mindwerks / worldengine

World generator using simulation of plates, rain shadow, erosion, etc.
MIT License
992 stars 127 forks source link

Usage as a library in Java? #269

Open KnedlikMCPE opened 8 months ago

KnedlikMCPE commented 8 months ago

Hello,

I have been struggling with coming up with a realistic world generation algorithm for my Minecraft mod and came across this repository. Unfortunately, worldengine is only available as a python standalone program, which added to that uses a native library.

I'd like to ask if there's possibly a way to use this in this way? If not, is there a knowledge base describing your algorithms?

Thanks, Knedlik

psi29a commented 7 months ago

Most of the knowledge that went into creating this is available online. :) That's how it was created.

I've been fooling around with re-writing this in Rust (RWIR) which would expose a C API that anyone can link into.

Python was originally chosen because it was the language I was learning at the time. Many supporting libraries had python bindings already, so it was easy to get developing. :)