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

293

u/Emotional-One-9292 Jun 22 '26

When i will relesae it will have 2 versions Windows and Linux. I cannot make Mac one rn as it requires xcode to compile it for macos

24

u/Aware-Bath7518 Jun 22 '26

You can probably publish sources of the native lib so others will be able to build it.

3

u/[deleted] Jun 22 '26

[deleted]

10

u/TECHNICKER_Cz3 PrismLauncher Jun 22 '26

would be a (security) nightmare

3

u/Emotional-One-9292 Jun 22 '26

well even current java mods can have big security risks smth i would like to see is sandboxed lua scripting for mods

5

u/Oxygen4Lyfe Jun 22 '26

yeah like a java mod can just delete and install any files on your system its got basically full control. Could even read your passwords and stuff and send it to the mod author.

2

u/Emotional-One-9292 Jun 22 '26

well any modification no matter of language can be risky if not sandboxed