Posted May 30, 201411 yr How would I use packets in 1.7.2? I am trying to send over a string, a boolean, and an int. I have never used packets before.
May 31, 201411 yr If you want to do packet handling yourself, check out the source code of Pahimar's EE3: https://github.com/pahimar/Equivalent-Exchange-3/tree/master/src/main/java/com/pahimar/ee3/network if (user.hasKnowledgeOfJava) { if (user.question.hasCode) { return interpetHelpfulResponse(user.getQuestion()); } else { return "Could you post your code please?"; } } else { return "Learn some freaking Java!"; }
May 31, 201411 yr Author I mean I looked at the source code of baubles. Though, that looks more efficient due to using the build-in packet system...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.