r/MinecraftModder • u/Morgrimm • Aug 18 '14
Here to help!
Hey guys, I've been modding Minecraft for a few years now, and I'm happy to help to the best of my ability (with code, answering questions, how MC works, etc.) I don't have any public mods at the moment, but I AM currently working on a Blood Magic addon :) Ask away!
4
Upvotes
View all comments
Show parent comment
2
u/Morgrimm Aug 21 '14
Yeah, packet and network handling is an annoying thing to get into, but once you have a framework set up it's fairly simple to use :) Using Netty (the new networking framework that Forge uses) directly isn't recommended, because it can cause issues, but Forge provides a really handy wrapper for it. This tutorial can explain it much better than I can. If you need an even more in-depth example as to how to set it up, the way Equivalent Exchange 3 handles packets is really nice, and I'd recommend it. The code for EE3 packets and packet handling can be found here. It also includes a good general packet for key handling, which should be useful for you. Hope that helped :D