Posted March 2, 201411 yr Hi, So I am implementing the network stuff, from the <a href="http://www.minecraftforge.net/wiki/Netty_Packet_Handling">wiki</a>, and I've got everything setup. The code is here: <a href="https://github.com/wiggertolsma/usefullstuff/blob/master/src/main/java/ace/usefullstuff/packets/PacketParticle.java">code </a>. The handleClient() method is never being called. Do I have to send the packet after encoding it somehow? Please help! Thanks! Follow me on twitter: https://twitter.com/CoderAce_
March 3, 201411 yr Change your code new PacketParticle(player, 80); to UsefullStuff.packetPipeline.sendTo(new PacketParticle(player, 80), player) Fixed.
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.