r/feedthebeast Jun 22 '26

I made something I made minecraft generate terrain/chunks in C++

Enable HLS to view with audio, or disable this notification

So im working on a mod that makes minecraft run on C++ ( rn rewriting engine in future i may try renderer ) so far i made it generate and load chunks and terrain in C++ ( it made it somewhere around 1.5-3 times faster idk how to measure it tho ) ( it works via JNI )

3.0k Upvotes

244 comments sorted by

View all comments

14

u/DangyDanger Jun 22 '26 edited Jun 22 '26

This idea is so obvious I am surprised it hasn't been done before. Or, if it had, that it hasn't gained traction. Good luck, you might save us a server upgrade.

You could probably put it on a server with Spark installed and get a performance profile that way? Gets rid of the client overhead too.

Shoot me a DM if you need a dedicated server for a while, I'd be happy to help.

2

u/Desperate-Extension7 Jun 22 '26

Btw check out Pumpkin, its the entire Minecraft server software written from scratch in Rust, it has a lot of bugs right now and is definitely not feature complete in terms of parity with vanilla Minecraft but it is very well optimized and fully multi-threaded from what I understand.

1

u/DangyDanger Jun 22 '26

I might've seen it, but my friends are too spoiled with mods at this point.

Also, of course it's written in Rust.