Currently working on an open source implementation of Minecraft [1] - a server, client, and various related things. The new Minecraft update released this week and radically changed how networking works, so it's a bit tough to get it all working again.
It's cool because it's a totally open source recreation of everything. It's got a server, a client, terrain generation, physics simulation, level editing, classic support... this is one of two really big projects I've undertaken. I'm also still working on MediaCrush [2][3], at least when my other half decides to show up and write some backend code. [1] https://github.com/SirCmpwn/Craft.Net [2] https://mediacru.sh [3] https://github.com/MediaCrush/MediaCrush
> Currently working on an open source implementation of Minecraft
Nice. Are you aiming to implement a thread-safe plugin API, perchance? The current problem with bukkit (and with vanilla minecraft server, of course) afaik is that whenever a plugin needs access to global state, it uses an API that does not do any locks of any sort; which means that usually, whenever one needs to e.g. write to global state, one dumps these critical parts onto the main thread. Solving this is nontrivial but rather important, I think.
It's just a library, so it doesn't handle plugins. However, the library is thread-safe, and the server [1] I wrote on top of the library supports plugins and is also thread safe. For anything dependent on a specific thread, there's generally a queue to push things into.
That sounds like a very nice and thought-through architecture/design.
What's your current status / how far away are you from a more or less complete beta (e.g. in regards to the minecraft client) (if you don't mind me asking)?
Comments (761) 320 threads
Show all comments
Showing thread 10 of 320
It's cool because it's a totally open source recreation of everything. It's got a server, a client, terrain generation, physics simulation, level editing, classic support... this is one of two really big projects I've undertaken.
I'm also still working on MediaCrush [2][3], at least when my other half decides to show up and write some backend code.
[1] https://github.com/SirCmpwn/Craft.Net
[2] https://mediacru.sh
[3] https://github.com/MediaCrush/MediaCrush
Sweet! Looking forward to playing with this. :-)
Nice.
Are you aiming to implement a thread-safe plugin API, perchance? The current problem with bukkit (and with vanilla minecraft server, of course) afaik is that whenever a plugin needs access to global state, it uses an API that does not do any locks of any sort; which means that usually, whenever one needs to e.g. write to global state, one dumps these critical parts onto the main thread. Solving this is nontrivial but rather important, I think.
[1] https://github.com/SirCmpwn/PartyCraft
What's your current status / how far away are you from a more or less complete beta (e.g. in regards to the minecraft client) (if you don't mind me asking)?
Continue this thread — 3 replies